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
fcd08fce
Commit
fcd08fce
authored
Aug 27, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #4578: add clearfix to .navbar-inner to clear floats
parent
54e3a26d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+12
-0
less/navbar.less
less/navbar.less
+3
-0
No files found.
docs/assets/css/bootstrap.css
View file @
fcd08fce
...
@@ -4113,11 +4113,23 @@ input[type="submit"].btn.btn-mini {
...
@@ -4113,11 +4113,23 @@ input[type="submit"].btn.btn-mini {
-moz-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border-radius
:
4px
;
filter
:
progid
:
dximagetransform
.
microsoft
.
gradient
(
startColorstr
=
'#ffffffff'
,
endColorstr
=
'#fff2f2f2'
,
GradientType
=
0
);
filter
:
progid
:
dximagetransform
.
microsoft
.
gradient
(
startColorstr
=
'#ffffffff'
,
endColorstr
=
'#fff2f2f2'
,
GradientType
=
0
);
*
zoom
:
1
;
-webkit-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
-webkit-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
-moz-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
-moz-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
}
}
.navbar-inner
:before
,
.navbar-inner
:after
{
display
:
table
;
line-height
:
0
;
content
:
""
;
}
.navbar-inner
:after
{
clear
:
both
;
}
.navbar
.container
{
.navbar
.container
{
width
:
auto
;
width
:
auto
;
}
}
...
...
less/navbar.less
View file @
fcd08fce
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
border: 1px solid @navbarBorder;
border: 1px solid @navbarBorder;
.border-radius(4px);
.border-radius(4px);
.box-shadow(0 1px 4px rgba(0,0,0,.065));
.box-shadow(0 1px 4px rgba(0,0,0,.065));
// Prevent floats from breaking the navbar
.clearfix();
}
}
// Set width to auto for default container
// Set width to auto for default container
...
...
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