Commit bf587cb5 authored by Mike Greiling's avatar Mike Greiling

add special class in cases where sidebar toggle should exist in the margin

parent 9918be8f
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
} }
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
&.has-sidebar-toggle {
padding-right: 40px; padding-right: 40px;
}
.git-clone-holder { .git-clone-holder {
width: 480px; width: 480px;
...@@ -60,7 +62,9 @@ ...@@ -60,7 +62,9 @@
} }
@media (min-width: $screen-md-min) { @media (min-width: $screen-md-min) {
&.has-sidebar-toggle {
padding-right: 0; padding-right: 0;
}
button.sidebar-toggle { button.sidebar-toggle {
display: none; display: none;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- page_title "Edit", @page.title.capitalize, "Wiki" - page_title "Edit", @page.title.capitalize, "Wiki"
%div{ class: container_class } %div{ class: container_class }
.wiki-page-header .wiki-page-header.has-sidebar-toggle
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" } %button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left') = icon('angle-double-left')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- page_title "Git Access", "Wiki" - page_title "Git Access", "Wiki"
%div{ class: container_class } %div{ class: container_class }
.wiki-page-header .wiki-page-header.has-sidebar-toggle
%button.btn.btn-default.visible-xs.visible-sm.pull-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" } %button.btn.btn-default.visible-xs.visible-sm.pull-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left') = icon('angle-double-left')
......
- page_title "History", @page.title.capitalize, "Wiki" - page_title "History", @page.title.capitalize, "Wiki"
%div{ class: container_class } %div{ class: container_class }
.wiki-page-header .wiki-page-header.has-sidebar-toggle
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" } %button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left') = icon('angle-double-left')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- page_title @page.title.capitalize, "Wiki" - page_title @page.title.capitalize, "Wiki"
%div{ class: container_class } %div{ class: container_class }
.wiki-page-header .wiki-page-header.has-sidebar-toggle
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" } %button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left') = icon('angle-double-left')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment