From 9c1b2095dbdcf31a68f1948b1c8727b7ce9f27a0 Mon Sep 17 00:00:00 2001 From: Reto Bollinger Date: Mon, 25 Nov 2024 12:26:46 +0100 Subject: [PATCH] Tweak for fixing that annoying (FF only?) scrollbar issue --- lektor/lektordata/project/assets/static/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lektor/lektordata/project/assets/static/style.css b/lektor/lektordata/project/assets/static/style.css index 602115e..6a39863 100644 --- a/lektor/lektordata/project/assets/static/style.css +++ b/lektor/lektordata/project/assets/static/style.css @@ -59,6 +59,10 @@ src:url(/static/webfonts/Roboto-ThinItalic.woff2)format("woff2"),url(/static/webfonts/Roboto-ThinItalic.woff)format("woff") } +html{ + margin: 0px; +} + body { font-family: "Roboto-Regular","Arial",sans-serif; margin: 0px; @@ -157,6 +161,7 @@ div.page{ left: 50%; transform: translateX(-50%); width: 1100px; + max-width:100%; background: #fff; text-align: center; color: #2563eb; @@ -269,6 +274,7 @@ div.left_footer, div.middle_footer, div.right_footer { margin: calc(30vw /1100*100) 0 0 0; padding: calc(22vw /1100*100) 0 0 0; line-height: calc(50vw /1100*100); + width: 100%; } div.page h3 { font-size:calc(60vw /1100*100);