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
fbebb046
Commit
fbebb046
authored
Feb 27, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix navbar container for default 940px grid per #2194
parent
6c9547f4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+3
-0
less/mixins.less
less/mixins.less
+1
-1
less/navbar.less
less/navbar.less
+5
-0
No files found.
docs/assets/bootstrap.zip
View file @
fbebb046
No preview for this file type
docs/assets/css/bootstrap.css
View file @
fbebb046
...
@@ -2740,6 +2740,9 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
...
@@ -2740,6 +2740,9 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
-moz-border-radius
:
0
;
-moz-border-radius
:
0
;
border-radius
:
0
;
border-radius
:
0
;
}
}
.navbar-fixed-top
.container
,
.navbar-fixed-bottom
.container
{
width
:
940px
;
}
.navbar-fixed-top
{
.navbar-fixed-top
{
top
:
0
;
top
:
0
;
}
}
...
...
less/mixins.less
View file @
fbebb046
...
@@ -502,7 +502,7 @@
...
@@ -502,7 +502,7 @@
margin-left: @gridGutterWidth;
margin-left: @gridGutterWidth;
}
}
// Set the container width, and
reset it for fixed navbar
s
// Set the container width, and
override it for fixed navbars in media querie
s
.container,
.container,
.navbar-fixed-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container { .span(12); }
.navbar-fixed-bottom .container { .span(12); }
...
...
less/navbar.less
View file @
fbebb046
...
@@ -179,6 +179,11 @@
...
@@ -179,6 +179,11 @@
.border-radius(0);
.border-radius(0);
}
}
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
#grid > .core > .span(@gridColumns);
}
// Fixed to top
// Fixed to top
.navbar-fixed-top {
.navbar-fixed-top {
top: 0;
top: 0;
...
...
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