2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
-4
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;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-4
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;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-5
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;