Skip to content

Commit

Permalink
fix(progress): wider bar min width
Browse files Browse the repository at this point in the history
When a progress is very short, the bar could contain a value > "10%" which then does not completely fit into the bar anymore.
By slightly increasing the min-width, this should cover almost every usecase.
  • Loading branch information
lubber-de authored Jul 9, 2024
1 parent 3db5328 commit 882ab06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/default/modules/progress.variables
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
width @barTransitionDuration @barTransitionEasing,
background-color @barTransitionDuration @barTransitionEasing;
@barInitialWidth: 0;
@barMinWidth: 2em;
@barMinWidth: 2.5em;

/* Progress Bar Label */
@progressWidth: auto;
Expand Down

0 comments on commit 882ab06

Please sign in to comment.