[Progress] Should have an option to omit the min width on the bar
Steps
<div class="ui small progress" data-percent="0">
<div class="bar" style="width: 0%;"></div>
<div class="label">0/1</div>
</div>
Expected Result

Actual Result

Version
0.78.3
As i'm using the progress in a table, there is not much horizontal space so It looks like the 0 is taking up about a fifth of the bar
Similarly to https://github.com/Semantic-Org/Semantic-UI/issues/6445 the bar should be at 0 I am not using LESS on my project so cannot use this solution
LESS compiles to CSS. The LESS instruction where @barMinWidth is used is
@barMinWidth: 2em;
@activeMinWidth: @barMinWidth;
.ui.progress .bar {
min-width: @barMinWidth;
}
.ui.active.progress .bar {
min-width: @activeMinWidth;
}
Should be possible to emulate the proposed solution in your CSS by adding
.ui.progress .bar {
min-width: 0 !important;
}
.ui.active.progress .bar {
min-width: 0 !important;
}
Fixed by https://github.com/fomantic/Fomantic-UI/pull/412 Supposed to be included in the upcoming Fomantic-UI 2.7.2 Release
When will be this released for Semantic UI react version?
@dhanushkac Depends, if you need to JS fixes in the linked PR then no but if you need to CSS fixes then yes it will work as long as your using fomantic not semantic.