diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-25 12:38:58 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-25 12:38:58 +0100 |
commit | 461aafe99569a93838f823729aaf8d51fa693aaf (patch) | |
tree | bfdf1f98a4553dc4100759c1ac84225e7d5a0e35 /assets | |
parent | 11ad84dd5006a71291d460799044e918381ff37c (diff) |
#6, Refactor to use overflow-x and overflow-y
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_utils.scss | 3 | ||||
-rw-r--r-- | assets/book.scss | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/assets/_utils.scss b/assets/_utils.scss index 37ce94f..fd773d3 100644 --- a/assets/_utils.scss +++ b/assets/_utils.scss @@ -30,7 +30,8 @@ position: fixed; top: 0; bottom: 0; - overflow: hidden auto; + overflow-x: hidden; + overflow-y: auto; } .hide { diff --git a/assets/book.scss b/assets/book.scss index c7aa009..d476111 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -10,7 +10,7 @@ html { html, body { min-width: $body-min-width; - overflow: hidden auto; + overflow-x: hidden; } body { @@ -178,7 +178,7 @@ aside nav, transform: translateX($menu-width); } - .book-header label img { + .book-header label { transform: rotate(90deg); } |