Skip to content

Commit ebe2202

Browse files
Keep header nav visible; only hide dropdown lists on first paint.
Superfish adds .sub-menu to top-level items, so a bare .sub-menu rule was hiding the whole menu. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4474b2d commit ebe2202

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

resources/views/layout/anti-fouc.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{{--
2-
Hide only the bits that dump unstyled on first paint (dropdowns / mobile clones).
3-
Do not hide the document — that also hid the header menu.
2+
Hide dropdown panels only. Superfish adds .sub-menu to the top-level <li>s,
3+
so a bare .sub-menu { display:none } hides the whole header nav.
44
--}}
55
<style>
66
.hide { display: none !important; }
7-
.sub-menu,
7+
ul.sub-menu,
88
.menu-dropdown { display: none; }
99
[x-cloak] { display: none !important; }
1010
@@media (min-width: 1280px) {

0 commit comments

Comments
 (0)