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
584cfdd7
Commit
584cfdd7
authored
Sep 05, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #17230: Renames .navbar-static-top to .navbar-full and adds docs for it
parent
180f97d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
docs/components/navbar.md
docs/components/navbar.md
+7
-1
scss/_navbar.scss
scss/_navbar.scss
+2
-2
No files found.
docs/components/navbar.md
View file @
584cfdd7
...
...
@@ -163,7 +163,13 @@ Although it's not required, you can wrap a navbar in a `.container` to center it
## Placement
Navbars can be statically placed (their default behavior), or fixed to the top or bottom of the viewport.
Navbars can be statically placed (their default behavior), static without rounded corners, or fixed to the top or bottom of the viewport.
{% example html %}
<nav
class=
"navbar navbar-full navbar-light bg-faded"
>
<a
class=
"navbar-brand"
href=
"#"
>
Full width
</a>
</nav>
{% endexample %}
{% example html %}
<nav
class=
"navbar navbar-fixed-top navbar-light bg-faded"
>
...
...
scss/_navbar.scss
View file @
584cfdd7
...
...
@@ -19,8 +19,8 @@
// Display the navbar across the entirety of the page or fixed it to the top or
// bottom of the page.
//
Static top (unfixed, but 100% wide) navbar
.navbar-
static-top
{
//
A static, full width modifier with no rounded corners.
.navbar-
full
{
z-index
:
$zindex-navbar
;
@include
media-breakpoint-up
(
sm
)
{
...
...
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