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
d9593e21
Commit
d9593e21
authored
Aug 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid top margin on input-append/prepend in .navbar-form
parent
0682780c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+2
-0
less/navbar.less
less/navbar.less
+3
-1
No files found.
docs/assets/css/bootstrap.css
View file @
d9593e21
...
@@ -4197,6 +4197,8 @@ input[type="submit"].btn.btn-mini {
...
@@ -4197,6 +4197,8 @@ input[type="submit"].btn.btn-mini {
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.navbar-form
.input-append
.btn
,
.navbar-form
.input-prepend
.btn
,
.navbar-form
.input-append
input
,
.navbar-form
.input-append
input
,
.navbar-form
.input-prepend
input
{
.navbar-form
.input-prepend
input
{
margin-top
:
0
;
margin-top
:
0
;
...
...
less/navbar.less
View file @
d9593e21
...
@@ -90,10 +90,11 @@
...
@@ -90,10 +90,11 @@
.navbarVerticalAlign(28px); // Vertically center in navbar
.navbarVerticalAlign(28px); // Vertically center in navbar
}
}
.navbar .btn-group .btn {
.navbar .btn-group .btn {
margin: 0; // then undo the margin here so we don't accidentally double it
margin
-top
: 0; // then undo the margin here so we don't accidentally double it
}
}
// Navbar forms
// Navbar forms
// -------------------------
.navbar-form {
.navbar-form {
margin-bottom: 0; // remove default bottom margin
margin-bottom: 0; // remove default bottom margin
.clearfix();
.clearfix();
...
@@ -125,6 +126,7 @@
...
@@ -125,6 +126,7 @@
}
}
// Navbar search
// Navbar search
// -------------------------
.navbar-search {
.navbar-search {
position: relative;
position: relative;
float: left;
float: left;
...
...
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