Skip to content

Commit

Permalink
Merge pull request #588 from openSUSE/fix-css-filters
Browse files Browse the repository at this point in the history
[web] Adjust CSS filters for inert/aria-hidden div nodes
  • Loading branch information
dgdavid authored May 24, 2023
2 parents 0714759 + b1e88a1 commit d34d68d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions web/package/cockpit-agama.changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Wed May 24 11:01:24 UTC 2023 - David Diaz <dgonzalez@suse.com>

- UI: Ensure that blur and grayscale CSS filters are not applied to
any nodes other than <body> direct children (gh#openSUSE/agama#588).

-------------------------------------------------------------------

Tue May 23 11:51:26 UTC 2023 - Martin Vidner <mvidner@suse.com>

- Version 2.1
Expand Down
4 changes: 2 additions & 2 deletions web/src/assets/styles/composition.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
flex-direction: row-reverse;
}

div[inert],
div[aria-hidden="true"] {
body > div[inert],
body > div[aria-hidden="true"] {
filter: grayscale(1) blur(2px);
}

0 comments on commit d34d68d

Please sign in to comment.