Skip to content

Commit 3f340e6

Browse files
committed
chore: css fixes
1 parent 7963e47 commit 3f340e6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/components/charts/ChartGroupCard.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,8 @@ export const ChartGroupCard = ({ chartGroup }: ChartGroupCardProps) => {
8383
<ChartIcon icon={chart.chartMetaData.icon} key={chart.id} isChartGroupCard />
8484
))}
8585
{chartGroup.chartGroupEntries.length > CHART_CARD_MAX_LENGTH && (
86-
<div className="chart-group-card__icon-wrapper border__secondary-translucent bg__secondary br-8 p-8 dc__w-fit-content h-50">
87-
<span className="fs-20 lh-1-5 cn-8">
88-
+{chartGroup.chartGroupEntries.length - CHART_CARD_MAX_LENGTH}
89-
</span>
86+
<div className="flex chart-group-card__icon-wrapper border__secondary-translucent bg__secondary br-8 p-8 h-50 fs-20 lh-1-5 cn-8 icon-dim-50">
87+
+{chartGroup.chartGroupEntries.length - CHART_CARD_MAX_LENGTH}
9088
</div>
9189
)}
9290
</>

src/css/icons.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@
207207
height: 48px;
208208
}
209209

210+
.icon-dim-50 {
211+
width: 50px;
212+
height: 50px;
213+
}
214+
210215
.icon-dim-72 {
211216
width: 72px;
212217
height: 72px;

0 commit comments

Comments
 (0)