summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-11-10 12:38:22 +0100
committerYorhel <git@yorhel.nl>2019-11-10 12:38:25 +0100
commit2d0a71b5083192a06de9e47a4424546a6bc4b639 (patch)
tree20cef15505133bfd48d1d4d604e87804e1dddf29 /data
parent238ec261f3911bba0c3d10bc800b6b172d8b3892 (diff)
CSS: Fix weird mainbox sizing when hovering maintabs on history browser
I really need to rewrite that maintabs CSS to be less magical, because just setting 'overflow:hidden' on the mainbox below it causes weird behavior. Setting a width seems to kind of magically work around the problem. Found by experimentation. I have no idea what I'm doing.
Diffstat (limited to 'data')
-rw-r--r--data/style.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/style.css b/data/style.css
index 040bc968..f3e2366f 100644
--- a/data/style.css
+++ b/data/style.css
@@ -218,7 +218,7 @@ div.mainbox, table.mainbox td {
padding: 5px;
background: $boxbg$;
}
-div.mainbox-overflow-hack { overflow: hidden }
+div.mainbox-overflow-hack { overflow: hidden; width: 100% }
.mainbox h1 { color: $boxtitle$; font-size: 24px; margin: -5px 0 15px 0; }
.mainbox h2.alttitle { color: $alttitle$; margin: -17px 0 15px 15px; font-weight: normal; }
.mainbox p { margin: 3px 20px; }