From 9e5984825f54b457a432c5dbae262e408c0c7858 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 Oct 2023 17:23:49 +0200 Subject: [PATCH] Look and feel v19 --- htdocs/index.php | 4 ++-- htdocs/theme/eldy/info-box.inc.php | 7 ++++++- htdocs/theme/md/info-box.inc.php | 5 +++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index ea10abd8620..ce45965bf62 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -553,9 +553,9 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) { $openedDashBoard .= '
'; if (!empty($board->labelShort)) { - $infoName = ''.$board->labelShort.''; + $infoName = '
'.$board->labelShort.'
'; } else { - $infoName = ''.$board->label.''; + $infoName = '
'.$board->label.'
'; } $textLateTitle = $langs->trans("NActionsLate", $board->nbtodolate); diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php index 6160731ea75..a67dec248dd 100644 --- a/htdocs/theme/eldy/info-box.inc.php +++ b/htdocs/theme/eldy/info-box.inc.php @@ -145,6 +145,11 @@ a.info-box-text-a i.fa.fa-exclamation-triangle { .info-box-line { line-height: 1.35em; } +.info-box-line-text { + overflow: hidden; + width: calc(100% - 76px); + text-overflow: ellipsis; +} .info-box-icon-text { box-sizing: border-box; @@ -507,7 +512,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { flex-basis: auto; width: 280px; - margin: 5px 8px 0px 8px; + margin: 5px 10px 0px 10px; } .box-flex-item.filler{ margin: 0px 0px 0px 15px !important; diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php index a490889dd45..ba5c632fc9a 100644 --- a/htdocs/theme/md/info-box.inc.php +++ b/htdocs/theme/md/info-box.inc.php @@ -253,6 +253,11 @@ a.info-box-text-a i.fa.fa-exclamation-triangle { .info-box-line { line-height: 1.2em; } +.info-box-line-text { + overflow: hidden; + width: calc(100% - 76px); + text-overflow: ellipsis; +} .info-box-icon-text { box-sizing: border-box;