Issue #3404218 by djsagar, mherchel, smustgrave: Table filter creates jank (layout shift) on page load

merge-requests/5431/head
Lauri Eskola 2023-11-30 11:19:25 +02:00
parent fe8bed7bbe
commit 3ad9ff9840
No known key found for this signature in database
GPG Key ID: 382FC0F5B0DF53F8
1 changed files with 13 additions and 0 deletions

View File

@ -20,3 +20,16 @@
.js .js-show {
display: block;
}
/**
* Use the scripting media features for modern browsers to reduce layout shifts.
*/
@media (scripting: enabled) {
/* Extra specificity to override previous selector. */
.js-hide.js-hide {
display: none;
}
.js-show {
display: block;
}
}