Skip to content

Commit

Permalink
fix(modals): non settings/theme popop revert centering
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Oct 15, 2022
1 parent 018c061 commit 00b6ee7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/modules/settings/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
*/
.ui__modal {
font-family: var(--awUI-font);
justify-content: flex-end;
}
.ui__modal .settings-modal {
font-size: 16px;
}
.ui__modal-overlay>div {
opacity: 0.5;
}
.is-settings-opened .ui__modal {
justify-content: flex-end;
}
.is-settings-opened .ui__modal-overlay>div {
opacity: 0;
}
Expand Down Expand Up @@ -122,6 +124,9 @@ html[data-theme="dark"] .ui__modal .ui__button:hover {
/*
>>> BEGIN: Themes popup
*/
.is-themes-opened .ui__modal {
justify-content: flex-end;
}
.is-themes-opened .ui__modal .panel-content {
min-width: unset;
width: 400px;
Expand Down

0 comments on commit 00b6ee7

Please sign in to comment.