mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
fixes #9241: enable collapsing for labels, in addition to badges, when empty
This commit is contained in:
parent
d5290c61d8
commit
6b6241feaa
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
@ -4127,6 +4127,10 @@ a.thumbnail:focus {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.label:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.label-default {
|
||||
background-color: #999999;
|
||||
}
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -18,7 +18,7 @@
|
||||
background-color: @badge-bg;
|
||||
border-radius: @badge-border-radius;
|
||||
|
||||
// Empty labels/badges collapse
|
||||
// Empty badges collapse automatically (not available in IE8)
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
|
@ -23,6 +23,11 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// Empty labels collapse automatically (not available in IE8)
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Colors
|
||||
|
Loading…
Reference in New Issue
Block a user