Skip to content

Commit 02b01ff

Browse files
authored
feat(statistic): fluid variant
Added a fluid statistic variant which is a quicker and Dom node saving method than using a one statistic group to occupy the whole width.
1 parent 02082e2 commit 02b01ff

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/definitions/views/statistic.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@
261261
}
262262
}
263263

264+
& when (@variationStatisticFluid) {
265+
.ui.fluid.statistic {
266+
width: 100%;
267+
}
268+
}
264269

265270

266271
& when (@variationStatisticHorizontal) {

src/themes/default/globals/variation.variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@
478478
@variationStatisticFloated: true;
479479
@variationStatisticHorizontal: true;
480480
@variationStatisticEqualWidth: true;
481+
@variationStatisticFluid: true;
481482
@variationStatisticSizes: @variationAllSizes;
482483
@variationStatisticColors: @variationAllColors;
483484

0 commit comments

Comments
 (0)