Better responsive

This commit is contained in:
Laurent Destailleur 2020-12-17 21:11:44 +01:00
parent 73dfa7d44a
commit b5db5f7474
2 changed files with 37 additions and 0 deletions

View File

@ -6471,6 +6471,24 @@ div.tabsElem a.tab {
}
}
@media only screen and (max-width: 320px)
{
.dropdown dd ul {
max-width: 270px; /* must always be 50 slower than width */
}
}
@media only screen and (max-width: 300px)
{
.dropdown dd ul {
max-width: 250px;
}
}
@media only screen and (max-width: 280px)
{
.dropdown dd ul {
max-width: 230px;
}
}
<?php

View File

@ -427,6 +427,25 @@ a.top-menu-dropdown-link {
}
}
@media only screen and (max-width: 320px)
{
.dropdown dd ul {
max-width: 270px; /* must always be 50 slower than width */
}
}
@media only screen and (max-width: 300px)
{
.dropdown dd ul {
max-width: 250px;
}
}
@media only screen and (max-width: 280px)
{
.dropdown dd ul {
max-width: 230px;
}
}
.dropdown-search-input::placeholder {
color: color(#575756 a(0.8));