Fix problemi header su mobile

This commit is contained in:
2026-04-21 09:47:02 +02:00
parent 2c2d1456d4
commit 1836ffe086
+72 -25
View File
@@ -56,47 +56,94 @@ header span {
@media (max-width: 768px) {
header {
flex-direction: column;
align-items: stretch !important;
justify-content: center !important;
padding: 10px 10px !important;
flex-direction: row;
align-items: center !important;
justify-content: space-between !important;
padding: 8px !important;
gap: 5px;
}
header #logo {
margin-bottom: 8px;
margin-bottom: 0;
flex-shrink: 0;
}
header > div:last-child {
justify-content: stretch;
}
header button, header a button {
padding: 8px 10px;
font-size: 12px;
display: flex;
flex-wrap: nowrap;
gap: 3px;
align-items: center;
justify-content: flex-end;
flex: 1;
min-width: 0;
}
header span {
font-size: 12px;
width: 100%;
text-align: center;
margin-top: 8px;
}
}
@media (max-width: 480px) {
header {
padding: 8px !important;
}
header button, header a button {
padding: 6px 8px;
font-size: 11px;
flex: 0 1 auto;
white-space: nowrap;
}
header span {
font-size: 11px;
white-space: nowrap;
display: none;
}
}
@media (max-width: 480px) {
header {
padding: 6px !important;
gap: 3px;
}
header #logo img {
height: 28px;
}
header button, header a button {
padding: 5px 6px;
font-size: 10px;
margin-right: 2px !important;
}
header span {
font-size: 10px;
display: none;
}
.admin-table {
font-size: 10px;
display: block;
overflow-x: auto;
white-space: nowrap;
}
.admin-table th, .admin-table td {
padding: 5px;
min-width: 60px;
}
.product-table {
font-size: 10px;
display: block;
overflow-x: auto;
}
.product-table th, .product-table td {
padding: 5px;
min-width: 70px;
}
.cart-table {
font-size: 10px;
display: block;
overflow-x: auto;
}
.cart-table th, .cart-table td {
padding: 5px;
min-width: 60px;
}
}
.products-grid {