From a7bf8124da30ed13d6932575371159d0453420a3 Mon Sep 17 00:00:00 2001 From: Congon4tor Date: Fri, 3 Jan 2025 01:09:11 +0100 Subject: [PATCH] Fixes language UI --- theme/css/chrome.css | 17 +++++++++++++++++ theme/index.hbs | 7 ++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/theme/css/chrome.css b/theme/css/chrome.css index 17e541163..4fc0b2a71 100644 --- a/theme/css/chrome.css +++ b/theme/css/chrome.css @@ -182,6 +182,13 @@ body.sidebar-visible #menu-bar { } /* Languages Menu Popup */ + +@media only screen and (max-width:799px) { + #menubar-languages-toggle span { + display: none !important; + } +} + #menubar-languages-toggle { position: relative; } @@ -243,6 +250,11 @@ html:not(.js) .left-buttons button { cursor: pointer; color: var(--fg); } +@media only screen and (max-width:799px) { + .menu-title { + font-size: 1.4rem; + } +} .menu-bar, .menu-bar:visited, @@ -632,6 +644,11 @@ ul#searchresults li a span.teaser em { color: var(--sidebar-fg); } } +@media only screen and (min-width:1440px) { + #sidebar-toggle{ + display: none !important; + } +} @media only screen and (max-width:549px) { .sidebar { position: fixed; diff --git a/theme/index.hbs b/theme/index.hbs index 419bb6e7a..683ea99c1 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -176,10 +176,12 @@