fix(css): restore original layout, re-add only image grid styles
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
Mirror to GitHub / mirror (push) Failing after 3s
Tests / test (push) Successful in 24s

Reverted CSS to the known-working state at 4b0cde9, then re-applied
only the image grid styles. The duplicate .results-layout block is
intentional — it was present in the working version too.
This commit is contained in:
Franz Kafka 2026-03-22 17:35:35 +00:00
parent 2f10f4e1e5
commit 00b2be9e79

View file

@ -1130,6 +1130,50 @@ a:focus-visible {
background: var(--border-focus);
}
/* ============================================================
Three-Column Results Layout
============================================================ */
.results-layout {
display: grid;
grid-template-columns: 200px 1fr 240px;
gap: 2rem;
align-items: start;
}
.results-layout .left-sidebar,
.results-layout .right-sidebar {
position: sticky;
top: calc(var(--header-height) + 1.5rem);
max-height: calc(100vh - var(--header-height) - 3rem);
overflow-y: auto;
}
.results-layout .results-column {
min-width: 0;
}
/* Tablet: hide left sidebar, two columns */
@media (min-width: 769px) and (max-width: 1024px) {
.results-layout {
grid-template-columns: 1fr 220px;
}
.results-layout .left-sidebar {
display: none;
}
}
/* Mobile: single column, no sidebars */
@media (max-width: 768px) {
.results-layout {
grid-template-columns: 1fr;
}
.results-layout .left-sidebar,
.results-layout .right-sidebar {
display: none;
}
}
/* ============================================================
Preferences Page Layout
============================================================ */