Better responsive menu on smartphone

This commit is contained in:
Laurent Destailleur 2023-09-10 21:44:00 +02:00
parent aa78a1e27a
commit 6960bc2123
2 changed files with 5 additions and 5 deletions

View file

@ -7807,15 +7807,15 @@ table.jPicker {
}
div.tmenucenter {
max-width: <?php echo max(26, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
text-overflow: clip;
text-overflow: clip;
}
span.mainmenuaspan {
margin-left: 1px;
}
.mainmenuaspan {
font-size: 0.9em;
padding-left: 0;
padding-right: 0;
font-size: 0.9em;
padding-left: 0;
padding-right: 0;
}
.topmenuimage {
background-size: 20px auto;

View file

@ -7715,7 +7715,7 @@ table.jPicker {
}
div.tmenucenter {
max-width: 24px; /* size of viewport */
max-width: <?php echo max(24, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
text-overflow: clip;
}
.mainmenuaspan {