From 8af13421e82b3694b6a47daa8ec47d94019648d3 Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Thu, 29 Aug 2024 23:26:48 +0200 Subject: [PATCH] Move TOC to top right on tablets --- assets/css/giellalt-site-global.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/css/giellalt-site-global.css b/assets/css/giellalt-site-global.css index d3719fb6..2c925906 100644 --- a/assets/css/giellalt-site-global.css +++ b/assets/css/giellalt-site-global.css @@ -197,13 +197,16 @@ https://stackoverflow.com/questions/9333379/check-if-an-elements-content-is-over } header #left_toc { - margin: 1em 3em 2em 0; - border-style: none solid none none; + margin: 1em 1em 2em 1em; + border-style: none none none solid; border-color: #e0e0e0; border-width: 1px; - padding-right: 1em; + padding: 1em; background: #fff; - position: static; + float: right; + height: auto; + width: 280px; + /* position: static; */ } header ul {