forked from kakawait/hugo-tranquilpeak-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix content out of the container when open sidebar
- Loading branch information
1 parent
907866f
commit f4d5b32
Showing
7 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
/// Mixin helper to push header from medium sidebar size | ||
@mixin header-pushed-md { | ||
&.pushed { | ||
@include prefix(transform, translate3d(#{map-get($sidebar, md-screen-width)}, 0, 0), 'webkit' 'moz'); | ||
margin-left: #{map-get($sidebar, md-screen-width)}; | ||
width: calc(100% - #{map-get($sidebar, md-screen-width)}); | ||
} | ||
} | ||
|
||
/// Mixin helper to push header from large sidebar size | ||
@mixin header-pushed-lg { | ||
&.pushed { | ||
@include prefix(transform, translate3d(#{map-get($sidebar, lg-screen-width)}, 0, 0), 'webkit' 'moz'); | ||
margin-left: #{map-get($sidebar, lg-screen-width)}; | ||
width: calc(100% - #{map-get($sidebar, lg-screen-width)}); | ||
} | ||
} | ||
/// Mixin helper to push header from extra large sidebar size | ||
@mixin header-pushed-xlg { | ||
&.pushed { | ||
@include prefix(transform, translate3d(#{map-get($sidebar, xlg-screen-width)}, 0, 0), 'webkit' 'moz'); | ||
margin-left: #{map-get($sidebar, xlg-screen-width)}; | ||
width: calc(100% - #{map-get($sidebar, xlg-screen-width)}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
static/css/style-jsjn0006wyhpyzivf6yceb31gvpjatbcs3qzjvlumobfnugccvobqwxnnaj8.min.css
Large diffs are not rendered by default.
Oops, something went wrong.