fix(css): shared-page layout – center children with page-width
This commit is contained in:
1 parent
43b09ae794
commit
4bdcebc1e1
1 file changed
+6
-4
@@ -902,13 +902,15 @@
|
|||||||
.shared-page {
|
.shared-page {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100dvh;
|
align-items: center;
|
||||||
width: 100%;
|
|
||||||
max-width: var(--page-width);
|
|
||||||
margin: 0 auto;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shared-page > * {
|
||||||
|
width: var(--page-width);
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.shared-header {
|
.shared-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in new issue
Block a user