Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
9ee77f2c
Commit
9ee77f2c
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
set line-height for labels to prevent change in height when floated per
#2222
parent
a7b96b3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
+2
-1
docs/assets/css/bootstrap.css
less/labels.less
+2
-1
less/labels.less
with
4 additions
and
2 deletions
+4
-2
docs/assets/bootstrap.zip
+
0
-
0
View file @
9ee77f2c
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
2
-
1
View file @
9ee77f2c
...
@@ -3299,8 +3299,9 @@ a.thumbnail:hover {
...
@@ -3299,8 +3299,9 @@ a.thumbnail:hover {
padding
:
1px
4px
2px
;
padding
:
1px
4px
2px
;
font-size
:
10.998px
;
font-size
:
10.998px
;
font-weight
:
bold
;
font-weight
:
bold
;
white-space
:
nowrap
;
line-height
:
13px
;
color
:
#ffffff
;
color
:
#ffffff
;
white-space
:
nowrap
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);
background-color
:
#999999
;
background-color
:
#999999
;
-webkit-border-radius
:
3px
;
-webkit-border-radius
:
3px
;
...
...
This diff is collapsed.
Click to expand it.
less/labels.less
+
2
-
1
View file @
9ee77f2c
...
@@ -6,8 +6,9 @@
...
@@ -6,8 +6,9 @@
padding: 1px 4px 2px;
padding: 1px 4px 2px;
font-size: @baseFontSize * .846;
font-size: @baseFontSize * .846;
font-weight: bold;
font-weight: bold;
white-space: nowrap;
line-height: 13px; // ensure proper line-height if floated
color: @white;
color: @white;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
background-color: @grayLight;
background-color: @grayLight;
.border-radius(3px);
.border-radius(3px);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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