diff --git a/htdocs/theme/md/btn.inc.php b/htdocs/theme/md/btn.inc.php index 7bd9bcb3fe1..6d4e38f2b9a 100644 --- a/htdocs/theme/md/btn.inc.php +++ b/htdocs/theme/md/btn.inc.php @@ -401,9 +401,17 @@ div.pagination .btnTitle:hover .btnTitle-label{ max-height: 42px; } +/* nboftopmenuentries = , fontsize= */ +/* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */ +@media only screen and (max-width: px) /* reduction 1 */ +{ + .btnTitle, a.btnTitle { + min-width: 40px; + } +} /* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */ -@media only screen and (max-width: global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px) /* reduction 2 */ +@media only screen and (max-width: px) /* reduction 2 */ { .butAction, .butActionRefused, .butActionDelete { font-size: 0.95em; @@ -411,7 +419,7 @@ div.pagination .btnTitle:hover .btnTitle-label{ } /* rule to reduce top menu - 3rd reduction: The menu for user is on left */ -@media only screen and (max-width: global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */ +@media only screen and (max-width: px) /* reduction 3 */ { .butAction, .butActionRefused, .butActionDelete { font-size: 0.9em;