Exclude html entity from aria-busy

When using Pico with Rails Turbo, this would cause the page
to "jump" because Turbo adds the `aria-busy` attribute to the root
`html` entity on a page. Excluding it from this list makes the page
not jump.
This commit is contained in:
Brad Gessler 2023-04-12 01:32:01 -07:00
parent 0534acfa8d
commit 1874510be3

View file

@ -9,7 +9,7 @@
}
// Everyting except form elements
[aria-busy="true"]:not(input, select, textarea) {
[aria-busy="true"]:not(input, select, textarea, html) {
&::before {
display: inline-block;