From 6960bc2123f63eda8cd998441ab44fb925eb6482 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 10 Sep 2023 21:44:00 +0200 Subject: [PATCH] Better responsive menu on smartphone --- htdocs/theme/eldy/global.inc.php | 8 ++++---- htdocs/theme/md/style.css.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 9a333b65ce8..d8c04b52eb3 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -7807,15 +7807,15 @@ table.jPicker { } div.tmenucenter { max-width: px; /* size of viewport */ - text-overflow: clip; + text-overflow: clip; } span.mainmenuaspan { margin-left: 1px; } .mainmenuaspan { - font-size: 0.9em; - padding-left: 0; - padding-right: 0; + font-size: 0.9em; + padding-left: 0; + padding-right: 0; } .topmenuimage { background-size: 20px auto; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 00d696f32b9..50208d9eb44 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -7715,7 +7715,7 @@ table.jPicker { } div.tmenucenter { - max-width: 24px; /* size of viewport */ + max-width: px; /* size of viewport */ text-overflow: clip; } .mainmenuaspan {