Skip to content

Commit

Permalink
feat(statistic): fluid variant
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lubber-de authored Nov 21, 2022
1 parent 02082e2 commit 02b01ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/definitions/views/statistic.less
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@
}
}

& when (@variationStatisticFluid) {
.ui.fluid.statistic {
width: 100%;
}
}


& when (@variationStatisticHorizontal) {
Expand Down
1 change: 1 addition & 0 deletions src/themes/default/globals/variation.variables
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@
@variationStatisticFloated: true;
@variationStatisticHorizontal: true;
@variationStatisticEqualWidth: true;
@variationStatisticFluid: true;
@variationStatisticSizes: @variationAllSizes;
@variationStatisticColors: @variationAllColors;

Expand Down

0 comments on commit 02b01ff

Please sign in to comment.