[Backport staging] Remove the glass border from modal spinners (#12369)

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
ElementRobot 2024-03-25 18:15:45 +00:00 committed by GitHub
parent ce8a2f333d
commit cd314477ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -660,8 +660,15 @@ legend {
} }
/* Spinner Dialog overide */ /* Spinner Dialog overide */
.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog { .mx_Dialog_wrapper.mx_Dialog_spinner {
width: auto; /* This is not a real dialog, so we shouldn't show a glass border */
.mx_Dialog_border {
display: contents;
}
.mx_Dialog {
inline-size: auto;
block-size: auto;
border-radius: 8px; border-radius: 8px;
padding: 8px; padding: 8px;
box-shadow: none; box-shadow: none;
@ -669,6 +676,7 @@ legend {
/* Don't show scroll-bars on spinner dialogs */ /* Don't show scroll-bars on spinner dialogs */
overflow-x: hidden; overflow-x: hidden;
overflow-y: hidden; overflow-y: hidden;
}
} }
/* TODO: Review mx_GeneralButton usage to see if it can use a different class */ /* TODO: Review mx_GeneralButton usage to see if it can use a different class */