style.css: improve horizontal scrolling for long titles/small windows - tscrape… | |
git clone git://git.codemadness.org/tscrape | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b83b7243ecfafc432cf1807f69c9ab30068fbd1f | |
parent 8e11f80c105f02b55641d9068d03448a6ffc1ea3 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 2 May 2020 15:15:50 +0200 | |
style.css: improve horizontal scrolling for long titles/small windows | |
Diffstat: | |
M style.css | 19 ++++++------------- | |
1 file changed, 6 insertions(+), 13 deletions(-) | |
--- | |
diff --git a/style.css b/style.css | |
@@ -7,10 +7,6 @@ body { | |
overflow: hidden; | |
padding: 0; | |
} | |
-body.frame { | |
- overflow: hidden; | |
- overflow-y: auto; | |
-} | |
h2 { | |
font-size: 14pt; | |
margin: 0.5em 0; | |
@@ -38,16 +34,15 @@ div#items { | |
body.noframe div#sidebar { | |
height: 100%; | |
left: 0; | |
- overflow: hidden; | |
- overflow-y: auto; | |
+ overflow: auto; | |
position: fixed; | |
top: 0; | |
- width: 175px; | |
+ width: 250px; | |
z-index: 999; | |
} | |
body.noframe div#items { | |
height: 100%; | |
- left: 175px; | |
+ left: 250px; | |
overflow: auto; | |
position: absolute; | |
right: 0; | |
@@ -56,11 +51,9 @@ body.noframe div#items { | |
body.noframe div#items.nosidebar { | |
left: 0px; | |
} | |
+body.frame { | |
+ overflow: auto; | |
+} | |
body.frame #sidebar br { | |
display: none; | |
} | |
-body.frame .content { | |
- font-family: sans; | |
- font-size: medium; | |
- padding: 0 1em; | |
-} |