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

Commit

Permalink
Remove the glass border from modal spinners (#12367)
Browse files Browse the repository at this point in the history
It was not intentional, as these spinners are not a real dialog.
  • Loading branch information
robintown authored Mar 25, 2024
1 parent 157ca48 commit 10526c9
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions res/css/_common.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -660,15 +660,23 @@ legend {
}

/* Spinner Dialog overide */
.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog {
width: auto;
border-radius: 8px;
padding: 8px;
box-shadow: none;
.mx_Dialog_wrapper.mx_Dialog_spinner {
/* 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;
padding: 8px;
box-shadow: none;

/* Don't show scroll-bars on spinner dialogs */
overflow-x: hidden;
overflow-y: hidden;
/* Don't show scroll-bars on spinner dialogs */
overflow-x: hidden;
overflow-y: hidden;
}
}

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

0 comments on commit 10526c9

Please sign in to comment.