Skip to content

Commit

Permalink
fix: make the loader backdrop stay within the app area
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pokorný <JenomPokorny@gmail.com>
  • Loading branch information
JanPokorny committed Dec 10, 2024
1 parent ff11138 commit 8d1132b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -714,10 +714,7 @@
#loading {
& {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
inset: 0;
z-index: 9998;

opacity: 0;
Expand All @@ -738,10 +735,8 @@

.backdrop {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
inset: 0.5rem;
border-radius: 0.5rem;
z-index: 9998;
background: var(--cds-overlay);
}
Expand Down

0 comments on commit 8d1132b

Please sign in to comment.