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
d417fcec
Commit
d417fcec
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#11357
: Vertically center sm and xs buttons in the navbar
parent
33160d50
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+10
-0
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/navbar.less
+7
-0
less/navbar.less
with
18 additions
and
1 deletion
+18
-1
dist/css/bootstrap.css
+
10
-
0
View file @
d417fcec
...
@@ -4671,6 +4671,16 @@ textarea.input-group-sm > .input-group-btn > .btn {
...
@@ -4671,6 +4671,16 @@ textarea.input-group-sm > .input-group-btn > .btn {
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
.navbar-btn.btn-sm
{
margin-top
:
10px
;
margin-bottom
:
10px
;
}
.navbar-btn.btn-xs
{
margin-top
:
14px
;
margin-bottom
:
14px
;
}
.navbar-text
{
.navbar-text
{
margin-top
:
15px
;
margin-top
:
15px
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
d417fcec
This diff is collapsed.
Click to expand it.
less/navbar.less
+
7
-
0
View file @
d417fcec
...
@@ -333,6 +333,13 @@
...
@@ -333,6 +333,13 @@
.navbar-btn {
.navbar-btn {
.navbar-vertical-align(@input-height-base);
.navbar-vertical-align(@input-height-base);
&.btn-sm {
.navbar-vertical-align(@input-height-small);
}
&.btn-xs {
.navbar-vertical-align(22);
}
}
}
...
...
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