center content in modern layout
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user