Skip to content

Commit

Permalink
news: fix news list appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 11, 2023
1 parent 592f261 commit 51adc5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/layouts/SidebarLayout/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@
grid-template-columns: var(--layout-split, minmax(300px, 25%) 1fr);
}
.wrapper.reverse {
grid-template-columns: 1fr minmax(300px, 25%);
grid-template-columns: var(--layout-split, 1fr minmax(300px, 25%));
grid-auto-flow: dense;
}
.wrapper.stacked {
grid-template-columns: 25%) 1fr;
grid-template-columns: 1fr;
}

.wrapper.regular .header {
grid-column: span 2;
}
.wrapper.reverse .sidebar {
grid-column: 2;
order: 2;
}
.wrapper.reverse .content {
grid-column: 1;
order: 1;
}

@media (max-device-width: 640px) {
.wrapper {
grid-template-columns: var(--layout-split, 1fr) !important;
--layout-split: 1fr;
}
.header {
grid-column: 1 !important;
Expand Down

0 comments on commit 51adc5a

Please sign in to comment.