Commit 6b6241fe authored by Mark Otto's avatar Mark Otto

fixes #9241: enable collapsing for labels, in addition to badges, when empty

parent d5290c61
...@@ -4127,6 +4127,10 @@ a.thumbnail:focus { ...@@ -4127,6 +4127,10 @@ a.thumbnail:focus {
cursor: pointer; cursor: pointer;
} }
.label:empty {
display: none;
}
.label-default { .label-default {
background-color: #999999; background-color: #999999;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
background-color: @badge-bg; background-color: @badge-bg;
border-radius: @badge-border-radius; border-radius: @badge-border-radius;
// Empty labels/badges collapse // Empty badges collapse automatically (not available in IE8)
&:empty { &:empty {
display: none; display: none;
} }
......
...@@ -23,6 +23,11 @@ ...@@ -23,6 +23,11 @@
cursor: pointer; cursor: pointer;
} }
} }
// Empty labels collapse automatically (not available in IE8)
&:empty {
display: none;
}
} }
// Colors // Colors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment