Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit cd31447

Browse files
RiotRobotrobintown
andauthored
[Backport staging] Remove the glass border from modal spinners (#12369)
Co-authored-by: Robin <[email protected]>
1 parent ce8a2f3 commit cd31447

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

res/css/_common.pcss

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -660,15 +660,23 @@ legend {
660660
}
661661

662662
/* Spinner Dialog overide */
663-
.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog {
664-
width: auto;
665-
border-radius: 8px;
666-
padding: 8px;
667-
box-shadow: none;
663+
.mx_Dialog_wrapper.mx_Dialog_spinner {
664+
/* This is not a real dialog, so we shouldn't show a glass border */
665+
.mx_Dialog_border {
666+
display: contents;
667+
}
668+
669+
.mx_Dialog {
670+
inline-size: auto;
671+
block-size: auto;
672+
border-radius: 8px;
673+
padding: 8px;
674+
box-shadow: none;
668675

669-
/* Don't show scroll-bars on spinner dialogs */
670-
overflow-x: hidden;
671-
overflow-y: hidden;
676+
/* Don't show scroll-bars on spinner dialogs */
677+
overflow-x: hidden;
678+
overflow-y: hidden;
679+
}
672680
}
673681

674682
/* TODO: Review mx_GeneralButton usage to see if it can use a different class */

0 commit comments

Comments
 (0)