center content in modern layout

This commit is contained in:
2026-06-12 00:54:01 +02:00
parent 5f2fe0c732
commit 075adcc8c6

View File

@@ -1741,7 +1741,7 @@ body.sidebar-right-hidden .global-sidebar-right {
grid-column: 2; grid-column: 2;
height: calc(100vh - var(--navbar-h, 50px)); height: calc(100vh - var(--navbar-h, 50px));
display: grid; display: grid;
grid-template-rows: auto auto auto 1fr; grid-template-rows: auto auto auto auto;
justify-items: center; justify-items: center;
overflow: hidden; overflow: hidden;
padding: 20px; padding: 20px;
@@ -1749,6 +1749,7 @@ body.sidebar-right-hidden .global-sidebar-right {
min-width: 0; min-width: 0;
gap: 0; gap: 0;
overflow-y: scroll; overflow-y: scroll;
align-content: center;
} }
/* When image is expanded: flex column so metadata stays below the image */ /* When image is expanded: flex column so metadata stays below the image */