0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Fixes #13953: Remove the progress bar min-width styles for low percentages to avoid jumping progress

This commit is contained in:
Mark Otto 2014-07-05 20:01:18 -07:00
parent 0378a6be2a
commit f22e7d857a
7 changed files with 4 additions and 17 deletions

View File

@ -4763,10 +4763,6 @@ a.thumbnail.active {
-o-animation: progress-bar-stripes 2s linear infinite; -o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite; animation: progress-bar-stripes 2s linear infinite;
} }
.progress-bar[aria-valuenow="1"],
.progress-bar[aria-valuenow="2"] {
min-width: 30px;
}
.progress-bar[aria-valuenow="0"] { .progress-bar[aria-valuenow="0"] {
min-width: 30px; min-width: 30px;
color: #777; color: #777;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4763,10 +4763,6 @@ a.thumbnail.active {
-o-animation: progress-bar-stripes 2s linear infinite; -o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite; animation: progress-bar-stripes 2s linear infinite;
} }
.progress-bar[aria-valuenow="1"],
.progress-bar[aria-valuenow="2"] {
min-width: 30px;
}
.progress-bar[aria-valuenow="0"] { .progress-bar[aria-valuenow="0"] {
min-width: 30px; min-width: 30px;
color: #777; color: #777;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -69,11 +69,6 @@
// Account for lower percentages // Account for lower percentages
.progress-bar { .progress-bar {
&[aria-valuenow="1"],
&[aria-valuenow="2"] {
min-width: 30px;
}
&[aria-valuenow="0"] { &[aria-valuenow="0"] {
color: @gray-light; color: @gray-light;
min-width: 30px; min-width: 30px;