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
3e00c126
Commit
3e00c126
authored
Feb 12, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow .input-prepend/.input-append to work in .navbar per #1681
parent
be6fdd9a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-0
less/navbar.less
less/navbar.less
+9
-1
No files found.
docs/assets/bootstrap.zip
View file @
3e00c126
No preview for this file type
docs/assets/css/bootstrap.css
View file @
3e00c126
...
@@ -2530,6 +2530,13 @@ button.btn.small, input[type="submit"].btn.small {
...
@@ -2530,6 +2530,13 @@ button.btn.small, input[type="submit"].btn.small {
.navbar-form
input
[
type
=
"image"
],
.navbar-form
input
[
type
=
"checkbox"
],
.navbar-form
input
[
type
=
"radio"
]
{
.navbar-form
input
[
type
=
"image"
],
.navbar-form
input
[
type
=
"checkbox"
],
.navbar-form
input
[
type
=
"radio"
]
{
margin-top
:
3px
;
margin-top
:
3px
;
}
}
.navbar-form
.input-append
,
.navbar-form
.input-prepend
{
margin-top
:
6px
;
white-space
:
nowrap
;
}
.navbar-form
.input-append
input
,
.navbar-form
.input-prepend
input
{
margin-top
:
0
;
}
.navbar-search
{
.navbar-search
{
position
:
relative
;
position
:
relative
;
float
:
left
;
float
:
left
;
...
...
less/navbar.less
View file @
3e00c126
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
margin-top: 5px; // make buttons vertically centered in navbar
margin-top: 5px; // make buttons vertically centered in navbar
}
}
.btn-group .btn {
.btn-group .btn {
margin-top: 0;
margin-top: 0;
// then undo the margin here so we don't accidentally double it
}
}
}
}
...
@@ -104,6 +104,14 @@
...
@@ -104,6 +104,14 @@
input[type="radio"] {
input[type="radio"] {
margin-top: 3px;
margin-top: 3px;
}
}
.input-append,
.input-prepend {
margin-top: 6px;
white-space: nowrap; // preven two items from separating within a .navbar-form that has .pull-left
input {
margin-top: 0; // remove the margin on top since it's on the parent
}
}
}
}
// Navbar search
// Navbar search
...
...
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