From f1878af359828262c2c00a0eafe56e1e0bd2f1fb Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 20 Feb 2025 19:12:03 +0100 Subject: [PATCH] Debug CSS --- htdocs/index.php | 4 ++-- htdocs/theme/eldy/info-box.inc.php | 4 +++- htdocs/theme/md/info-box.inc.php | 6 +++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index 5e2b667dbae..f09fd621607 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -570,7 +570,7 @@ if (!getDolGlobalString('MAIN_DISABLE_GLOBAL_WORKBOARD') && getDolGlobalInt('MAI $openedDashBoard .= ''."\n"; $openedDashBoard .= '
'."\n"; - $openedDashBoard .= '
'.$groupName.'
'."\n"; + $openedDashBoard .= '
'.$groupName.'
'."\n"; $openedDashBoard .= '
'."\n"; foreach ($boards as $board) { @@ -592,7 +592,7 @@ if (!getDolGlobalString('MAIN_DISABLE_GLOBAL_WORKBOARD') && getDolGlobalInt('MAI $textLate = ''; if ($board->nbtodolate > 0) { $textLate .= ''; - $textLate .= ' '.$board->nbtodolate; + $textLate .= ' '.$board->nbtodolate; $textLate .= ''; } diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php index 24f981291a5..99930748d22 100644 --- a/htdocs/theme/eldy/info-box.inc.php +++ b/htdocs/theme/eldy/info-box.inc.php @@ -298,7 +298,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle { @media only screen and (max-width: 480px) { .info-box-text { - font-size: 0.82em; + font-size: 0.85em; } .info-box-line { line-height: 1.25em; @@ -694,8 +694,10 @@ a.vmenu span, span.vmenu, span.vmenu span { padding-left: 10px; padding-right: 2px; } + /* .info-box-line-text { width: calc(100% - 98px); max-width: calc(100% - 88px); } + */ } diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php index a0588f5656b..c8ea748a5ba 100644 --- a/htdocs/theme/md/info-box.inc.php +++ b/htdocs/theme/md/info-box.inc.php @@ -430,12 +430,14 @@ a.info-box-text-a i.fa.fa-exclamation-triangle { font-size: 0.90em; } /* Force values for small screen 480 */ +/* @media only screen and (max-width: 480px) { .info-box-text { font-size: 0.85em; } } +*/ .info-box-text:first-letter{text-transform: uppercase} a.info-box-text{ text-decoration: none;} @@ -644,7 +646,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { @media only screen and (max-width: 767px) { .box-flex-container { - margin: 0 0 0 -8px !important; + margin: 0 0 0 0 !important; } } @@ -684,10 +686,12 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { padding-left: 10px; padding-right: 2px; } + /* .info-box-line-text { width: calc(100% - 92px); max-width: calc(100% - 82px); } + */ } @media only screen and (max-width: 480px) {