commit 91bfb21a6c192498bbc032fd4b46d2090382572b
parent e14a0199d43d8d3f8fd5358990455b5e6d6e22e7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 2 May 2020 15:14:47 +0200
style.css: improve horizontal scrolling for long titles/small windows
Diffstat:
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;
-}