Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e8f7d4fc
Commit
e8f7d4fc
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes alignment and nav list in offcanvas example
parent
129d8fce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/offcanvas/index.html
+13
-15
examples/offcanvas/index.html
examples/offcanvas/offcanvas.css
+1
-2
examples/offcanvas/offcanvas.css
with
14 additions
and
17 deletions
+14
-17
examples/offcanvas/index.html
+
13
-
15
View file @
e8f7d4fc
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row row-offcanvas row-offcanvas-right"
>
<div
class=
"row row-offcanvas row-offcanvas-right"
>
<div
class=
"col-xs-12 col-sm-9"
>
<div
class=
"col-xs-12 col-sm-9"
>
<p
class=
"pull-right visible-xs"
>
<p
class=
"pull-right visible-xs"
>
<button
type=
"button"
class=
"btn btn-primary btn-xs"
data-toggle=
"offcanvas"
>
Toggle nav
</button>
<button
type=
"button"
class=
"btn btn-primary btn-xs"
data-toggle=
"offcanvas"
>
Toggle nav
</button>
...
@@ -89,21 +90,18 @@
...
@@ -89,21 +90,18 @@
</div>
<!--/span-->
</div>
<!--/span-->
<div
class=
"col-xs-6 col-sm-3 sidebar-offcanvas"
id=
"sidebar"
role=
"navigation"
>
<div
class=
"col-xs-6 col-sm-3 sidebar-offcanvas"
id=
"sidebar"
role=
"navigation"
>
<div
class=
"well sidebar-nav"
>
<div
class=
"list-group"
>
<ul
class=
"nav"
>
<a
href=
"#"
class=
"list-group-item active"
>
Link
</a>
<li>
Sidebar
</li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li
class=
"active"
><a
href=
"#"
>
Link
</a></li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li><a
href=
"#"
>
Link
</a></li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li><a
href=
"#"
>
Link
</a></li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li>
Sidebar
</li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li><a
href=
"#"
>
Link
</a></li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li><a
href=
"#"
>
Link
</a></li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li><a
href=
"#"
>
Link
</a></li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li>
Sidebar
</li>
<a
href=
"#"
class=
"list-group-item"
>
Link
</a>
<li><a
href=
"#"
>
Link
</a></li>
</div>
<li><a
href=
"#"
>
Link
</a></li>
</ul>
</div>
<!--/.well -->
</div>
<!--/span-->
</div>
<!--/span-->
</div>
<!--/row-->
</div>
<!--/row-->
...
...
This diff is collapsed.
Click to expand it.
examples/offcanvas/offcanvas.css
+
1
-
2
View file @
e8f7d4fc
...
@@ -6,8 +6,7 @@ body {
...
@@ -6,8 +6,7 @@ body {
padding-top
:
70px
;
padding-top
:
70px
;
}
}
footer
{
footer
{
padding-left
:
15px
;
padding
:
30px
0
;
padding-right
:
15px
;
}
}
/*
/*
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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