feat: refactor header layout for improved responsiveness on mobile

This commit is contained in:
sHa
2025-05-29 15:48:16 +03:00
parent 341571d920
commit 2010eb6704

View File

@@ -1220,21 +1220,30 @@
} }
@media (max-width: 700px) { @media (max-width: 700px) {
.header-row { .header-row {
flex-direction: row; display: grid;
grid-template-columns: 1fr auto;
grid-template-rows: auto auto;
gap: 0.5rem;
align-items: center; align-items: center;
justify-content: space-between;
gap: 1rem;
} }
.logo-count { .header-title {
display: none; grid-column: 1;
grid-row: 1;
} }
.theme-switcher { .theme-switcher {
grid-column: 2;
grid-row: 1;
}
.logo-count {
grid-column: 1 / -1;
grid-row: 2;
margin-left: 0; margin-left: 0;
padding-top: 0;
justify-self: start;
} }
} }
</style> </style>