diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 7f44fccaa19..5aebfacfdc0 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -5901,11 +5901,6 @@ div.tabsElem a.tab { border-right: none; border-left: none; } - - .box-flex-container { - margin: 0 0 0 -8px !important; - } - } @media only screen and (max-width: 1024px) diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php index 8f5820c6d6f..365218be8b1 100644 --- a/htdocs/theme/eldy/info-box.inc.php +++ b/htdocs/theme/eldy/info-box.inc.php @@ -299,7 +299,7 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES flex-direction: row; flex-wrap: wrap; width: 100%; - margin: 0 0 0 -15px; + margin: 0 0 0 -8px; /*justify-content: space-between;*/ } @@ -309,7 +309,7 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES flex-basis: auto; width: 280px; - margin: 5px 0px 0px 15px; + margin: 5px 8px 0px 8px; } .box-flex-item.filler{ margin: 0px 0px 0px 15px !important; @@ -321,3 +321,10 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES overflow: visible; } */ + +@media only screen and (max-width: 767px) +{ + .box-flex-container { + margin: 0 0 0 -8px !important; + } +}