Skip to content

Commit

Permalink
fix(styles): minor style fix on user-subs view
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Dec 20, 2021
1 parent 0339369 commit 2392d8e
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
.billings-table {
&__table {
overflow: visible;
}

&__empty {
&:deep(.bimdata-card__content) {
height: 480px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
}

.space-cell {
max-width: 300px;
&:hover {
Expand All @@ -22,14 +36,4 @@
color: var(--color-high);
}
}

&__empty {
&:deep(.bimdata-card__content) {
height: 480px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $t("BillingsTable.title") }}
</h2>

<BIMDataCard v-if="subscriptions.length > 0">
<BIMDataCard class="billings-table__table" v-if="subscriptions.length > 0">
<template #content>
<GenericTable
:columns="columns"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.invoices-table {
&__table {
overflow: visible;
}

&__empty {
&:deep(.bimdata-card__content) {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $t("InvoicesTable.title") }}
</h2>

<BIMDataCard v-if="subscriptions.length > 0">
<BIMDataCard class="invoices-table__table" v-if="subscriptions.length > 0">
<template #content>
<GenericTable
:columns="columns"
Expand Down Expand Up @@ -38,7 +38,7 @@
</template>
</BIMDataCard>

<BIMDataCard v-else class="invoices-table__empty">
<BIMDataCard class="invoices-table__empty" v-else>
<template #content>
<InvoicesTableEmptyImage class="m-b-24" />
<p>
Expand Down
6 changes: 3 additions & 3 deletions src/views/user-subscriptions/UserSubscriptions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
.bimdata-dropdown-list {
width: 380px;

.number-organizations {
width: 24px;
height: 24px;
.organization-count {
min-width: 20px;
height: 20px;
border-radius: 3px;
font-weight: bold;
background-color: var(--color-primary);
Expand Down
2 changes: 1 addition & 1 deletion src/views/user-subscriptions/UserSubscriptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<template #header>
<div class="flex items-center">
<span
class="number-organizations flex items-center justify-center m-r-12"
class="flex items-center justify-center m-r-12 organization-count"
>
{{ organizations.length }}
</span>
Expand Down

0 comments on commit 2392d8e

Please sign in to comment.