diff --git a/services/tenant-ui/frontend/src/assets/tenantuiComponents.scss b/services/tenant-ui/frontend/src/assets/tenantuiComponents.scss
index da3946ec1..7425db593 100644
--- a/services/tenant-ui/frontend/src/assets/tenantuiComponents.scss
+++ b/services/tenant-ui/frontend/src/assets/tenantuiComponents.scss
@@ -1,56 +1,43 @@
.status-chip {
- background-color: $tenant-ui-status-default-background;
- color: $tenant-ui-status-default-color;
- border-radius: 5px;
- padding: 0.25rem 1rem 0.25rem 1rem;
- font-weight: bolder;
+ background-color: $tenant-ui-status-default-background;
+ color: $tenant-ui-status-default-color;
+ border-radius: 5px;
+ padding: 0.25rem 1rem 0.25rem 1rem;
+ font-weight: bolder;
+ text-align: center;
+ > span.text {
+ min-width: 80px;
text-align: center;
- > span.text {
- min-width: 80px;
- text-align: center
- }
}
/* green */
-.status-chip.active {
+ &.active ,
+ &.accepted,
+ &.verified {
background-color: $tenant-ui-status-green-background;
color: $tenant-ui-status-green-color;
}
-.status-chip.accepted {
- background-color: $tenant-ui-status-green-background;
- color: $tenant-ui-status-green-color;
- }
-
-.status-chip.verified {
- background-color: $tenant-ui-status-green-background;
- color: $tenant-ui-status-green-color;
- }
-
/* amber */
-.status-chip.pending {
+ &.pending {
background-color: $tenant-ui-status-amber-background;
color: $tenant-ui-status-amber-color;
}
-
+
/* red */
-.status-chip.error {
+ &.error,
+ &.rejected,
+ &.offer-not-accepted {
background-color: $tenant-ui-status-red-background;
color: $tenant-ui-status-red-color;
}
-.status-chip.rejected {
- background-color: $tenant-ui-status-red-background;
- color: $tenant-ui-status-red-color;
- }
-
/* blue */
-.status-chip.in-progress {
- background-color: $tenant-ui-status-blue-background;
- color: $tenant-ui-status-blue-color;
- }
-
-.status-chip.request-sent {
+ &.in-progress,
+ &.request-sent,
+ &.offer-sent,
+ &.offer-received {
background-color: $tenant-ui-status-blue-background;
color: $tenant-ui-status-blue-color;
}
+}
diff --git a/services/tenant-ui/frontend/src/components/common/StatusChip.vue b/services/tenant-ui/frontend/src/components/common/StatusChip.vue
index 80d659015..a9b832138 100644
--- a/services/tenant-ui/frontend/src/components/common/StatusChip.vue
+++ b/services/tenant-ui/frontend/src/components/common/StatusChip.vue
@@ -1,7 +1,7 @@
- {{ status }}
+ {{ status }}
+