Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
6b6241fe
Commit
6b6241fe
authored
Aug 11, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #9241: enable collapsing for labels, in addition to badges, when empty
parent
d5290c61
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
dist/css/bootstrap.css
dist/css/bootstrap.css
+4
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/badges.less
less/badges.less
+1
-1
less/labels.less
less/labels.less
+5
-0
No files found.
dist/css/bootstrap.css
View file @
6b6241fe
...
@@ -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
;
}
}
...
...
dist/css/bootstrap.min.css
View file @
6b6241fe
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/badges.less
View file @
6b6241fe
...
@@ -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;
}
}
...
...
less/labels.less
View file @
6b6241fe
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment