fix modal centering
This commit is contained in:
Vendored
+3
-4
@@ -875,12 +875,11 @@ body[showing-chat] #chat-page-wrapper {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: safe center;
|
|
||||||
}
|
|
||||||
.split-modal[navigation] > div,
|
|
||||||
.split-modal[navigation] > div > .scroll-area {
|
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
}
|
}
|
||||||
|
.split-modal[navigation]:not([page-open]) > div {
|
||||||
|
justify-content: safe center;
|
||||||
|
}
|
||||||
.split-modal[navigation] > div {
|
.split-modal[navigation] > div {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,12 +30,11 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: safe center;
|
justify-content: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.split-modal[navigation] > div,
|
.split-modal[navigation]:not([page-open]) > div {
|
||||||
.split-modal[navigation] > div > .scroll-area {
|
justify-content: safe center;
|
||||||
justify-content: start;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.split-modal[navigation] > div {
|
.split-modal[navigation] > div {
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ function SettingsPaneButton(
|
|||||||
label,
|
label,
|
||||||
settingsViewModel.selectedModalPage,
|
settingsViewModel.selectedModalPage,
|
||||||
page,
|
page,
|
||||||
true
|
true,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user