From e8c16668c24af41ce2eec7d99446a482eec8c4ff Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 28 Jan 2019 13:57:48 +0100 Subject: [PATCH] sidebar style cleanup --- src/components/Sidebar.module.scss | 34 ++++++++++++++---------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/src/components/Sidebar.module.scss b/src/components/Sidebar.module.scss index 259095b2..e8c3d50d 100644 --- a/src/components/Sidebar.module.scss +++ b/src/components/Sidebar.module.scss @@ -16,8 +16,8 @@ } &::-webkit-scrollbar { - width: 6px; - height: 6px; + width: 8px; + height: 8px; } &::-webkit-scrollbar-thumb { @@ -94,16 +94,6 @@ } } -.toc a { - padding-top: $spacer / 12; - padding-bottom: $spacer / 12; - - code { - background: none !important; // stylelint-disable-line - color: inherit !important; // stylelint-disable-line - } -} - .toc { ul { padding-left: 0; @@ -119,6 +109,20 @@ li { margin: 0; } + + a { + padding-top: $spacer / 12; + padding-bottom: $spacer / 12; + } + + code { + background: none !important; // stylelint-disable-line + color: inherit !important; // stylelint-disable-line + } + + [data-deprecated='true'] code { + opacity: .5; + } } .active { @@ -148,9 +152,3 @@ border-left-color: $green; } } - -[data-deprecated='true'] { - code { - opacity: .5; - } -}