From 1874510be351d5c8b53bff5aa40a7ad94bea2fba Mon Sep 17 00:00:00 2001 From: Brad Gessler Date: Wed, 12 Apr 2023 01:32:01 -0700 Subject: [PATCH] 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. --- scss/utilities/_loading.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/utilities/_loading.scss b/scss/utilities/_loading.scss index c9062acd..c6f3afe6 100644 --- a/scss/utilities/_loading.scss +++ b/scss/utilities/_loading.scss @@ -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;