From 46affe90908144b01b54b8e551a09c80966517f7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 1 Sep 2019 21:14:56 +0200 Subject: [PATCH] Fix css on smartphone --- htdocs/theme/eldy/global.inc.php | 2 ++ htdocs/theme/eldy/style.css.php | 2 +- htdocs/theme/md/style.css.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 36c88d31bdb..bc76fd445c3 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1069,6 +1069,8 @@ body.sidebar-collapse .login_block { } .menuhider { display: block !important; } +.dropdown-user-image { display: none; } +.user-header { height: auto !important; color: rgb(); } #id-container { width: 100%; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index bbf5e4e1b54..3b8e1fc7329 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -192,7 +192,7 @@ $colortext=join(',', colorStringToArray($colortext)); $colortextlink=join(',', colorStringToArray($colortextlink)); $nbtopmenuentries=$menumanager->showmenu('topnb'); -if ($conf->browser->layout == 'phone') $nbtopmenuentries = max($nbtopmenuentries, 7); +if ($conf->browser->layout == 'phone') $nbtopmenuentries = max($nbtopmenuentries, 10); $minwidthtmenu=66; /* minimum width for one top menu entry */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 154ff416110..983d0773f48 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -195,7 +195,7 @@ $colortext=join(',', colorStringToArray($colortext)); $colortextlink=join(',', colorStringToArray($colortextlink)); $nbtopmenuentries=$menumanager->showmenu('topnb'); -if ($conf->browser->layout == 'phone') $nbtopmenuentries = max($nbtopmenuentries, 7); +if ($conf->browser->layout == 'phone') $nbtopmenuentries = max($nbtopmenuentries, 10); print '/*'."\n"; print 'colorbackbody='.$colorbackbody."\n";