feat: compact portfolio currency totals
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
max-width: 960px;
|
||||
}
|
||||
|
||||
.total,
|
||||
.tile,
|
||||
.cash {
|
||||
border-color: var(--mantine-color-gray-3);
|
||||
@@ -10,8 +9,51 @@
|
||||
}
|
||||
|
||||
.total {
|
||||
padding: var(--mantine-spacing-md);
|
||||
border-top: 3px solid var(--mantine-color-blue-6);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding: 12px;
|
||||
border-color: var(--mantine-color-gray-3);
|
||||
border-radius: 8px;
|
||||
background: var(--mantine-color-white);
|
||||
}
|
||||
|
||||
.totalBadge {
|
||||
min-width: 40px;
|
||||
min-height: 24px;
|
||||
max-width: 100%;
|
||||
padding-inline: 8px;
|
||||
border-radius: 4px;
|
||||
background: var(--mantine-color-blue-0);
|
||||
color: var(--mantine-color-blue-6);
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.totalAmount {
|
||||
flex-basis: max-content;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
color: var(--mantine-color-dark-7);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
line-height: 1.55;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.totalLeadingDigits {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.totalAmountSkeleton {
|
||||
max-width: calc(100% - 50px);
|
||||
margin-block: 5px;
|
||||
}
|
||||
|
||||
.tile,
|
||||
|
||||
Reference in New Issue
Block a user