From 461aafe99569a93838f823729aaf8d51fa693aaf Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 25 Nov 2018 12:38:58 +0100 Subject: #6, Refactor to use overflow-x and overflow-y --- assets/_utils.scss | 3 ++- assets/book.scss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'assets') 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); } -- cgit v1.2.3