Last active
November 15, 2024 00:17
-
-
Save thesmart/40c40f26fc9179c0ab4ac7f36d13d209 to your computer and use it in GitHub Desktop.
Revisions
-
thesmart revised this gist
Nov 15, 2024 . 1 changed file with 3 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,9 +3,6 @@ const contentWrappers = document.querySelectorAll('.wp-block-getwid-accordion__c contentWrappers.forEach((wrapper) => { wrapper.style.display = 'block'; wrapper.style.height = 'auto'; wrapper.ariaHidden = undefined; wrapper.inert = false; }); -
thesmart created this gist
Nov 15, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ const contentWrappers = document.querySelectorAll('.wp-block-getwid-accordion__content-wrapper'); contentWrappers.forEach((wrapper) => { wrapper.style.display = 'block'; wrapper.style.height = 'auto'; const contentEl = wrapper.querySelector('.ui-accordion-content'); if (contentEl) { contentEl.style.display = 'block'; contentEl.style.height = 'auto'; } });