mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-05-14 14:52:04 +00:00
Fix problemi header su mobile
This commit is contained in:
+72
-25
@@ -56,47 +56,94 @@ header span {
|
|||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
header {
|
header {
|
||||||
flex-direction: column;
|
flex-direction: row;
|
||||||
align-items: stretch !important;
|
align-items: center !important;
|
||||||
justify-content: center !important;
|
justify-content: space-between !important;
|
||||||
padding: 10px 10px !important;
|
padding: 8px !important;
|
||||||
|
gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header #logo {
|
header #logo {
|
||||||
margin-bottom: 8px;
|
margin-bottom: 0;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > div:last-child {
|
header > div:last-child {
|
||||||
justify-content: stretch;
|
display: flex;
|
||||||
}
|
flex-wrap: nowrap;
|
||||||
|
gap: 3px;
|
||||||
header button, header a button {
|
align-items: center;
|
||||||
padding: 8px 10px;
|
justify-content: flex-end;
|
||||||
font-size: 12px;
|
|
||||||
flex: 1;
|
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 {
|
header button, header a button {
|
||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
flex: 0 1 auto;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
header span {
|
header span {
|
||||||
font-size: 11px;
|
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 {
|
.products-grid {
|
||||||
|
|||||||
Reference in New Issue
Block a user