Revert "fix(cls): add inline CSS to prevent navbar-collapse layout shift"
This reverts commit 0239191dfc.
This commit is contained in:
10
header.php
10
header.php
@@ -14,16 +14,6 @@
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- CLS Prevention: Hide navbar-collapse before Bootstrap loads -->
|
||||
<style id="cls-navbar-fix">
|
||||
@media (max-width: 991.98px) {
|
||||
.navbar-collapse:not(.show) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user