mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Add LESS variable for sidebar full-width breakpoint
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -84,7 +84,7 @@
|
||||
}
|
||||
|
||||
&.with-summary {
|
||||
@media (min-width: 800px) {
|
||||
@media (min-width: @sidebar-breakpoint) {
|
||||
.book-body {
|
||||
left: 250px;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
@media (max-width: @sidebar-breakpoint) {
|
||||
width: 100%;
|
||||
bottom: 0px;
|
||||
left: -100%;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
// Sidebar
|
||||
@sidebar-width: 250px;
|
||||
@sidebar-breakpoint: 600px;
|
||||
@sidebar-color: hsl(207, 15%, 80%);
|
||||
@sidebar-background: hsl(207, 15%, 95%);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user