feat: enhance layout styles for better responsiveness and visual consistency

This commit is contained in:
sHa
2025-05-29 13:21:22 +03:00
parent 52a4292079
commit 2212c6db17
4 changed files with 13 additions and 10 deletions

View File

@@ -56,6 +56,9 @@
:global(body) { :global(body) {
background: var(--color-bg); background: var(--color-bg);
color: var(--color-text); color: var(--color-text);
height: 100%;
margin: 0;
padding: 0;
} }
body { body {

View File

@@ -1183,7 +1183,7 @@
} }
.selected-brand { .selected-brand {
background: #2196F3; background: #27ae60;
color: #fff; color: #fff;
border: none; border: none;
border-radius: 8px; border-radius: 8px;
@@ -1202,7 +1202,7 @@
} }
.selected-brand:hover { .selected-brand:hover {
background: #1976D2; background: #219150;
} }
.selected-brand .close { .selected-brand .close {

View File

@@ -73,14 +73,7 @@
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, 200px); grid-template-columns: repeat(auto-fill, 200px);
gap: 1rem; gap: 1rem;
justify-content: space-between; justify-content: space-evenly;
}
@media (max-width: 600px) {
.compact-view {
grid-template-columns: repeat(auto-fill, 160px);
gap: 0.75rem;
}
} }
.no-results { .no-results {

View File

@@ -227,10 +227,17 @@
</div> </div>
<style> <style>
.container {
min-height: 100vh;
display: flex;
flex-direction: column;
}
main { main {
padding: 0 1rem 2rem 1rem; padding: 0 1rem 2rem 1rem;
max-width: 1400px; max-width: 1400px;
margin: 0 auto; margin: 0 auto;
width: 100%; width: 100%;
flex: 1;
} }
</style> </style>