Hide search form with CSS instead of collapsing it with jQuery on load
The form stayed open when jQuery failed to load, and flashed open on every page load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
12857b1abe
commit
c4c6d08f15
6 files changed
+12
-4
No files matched your search
+5
@@ -56,6 +56,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
// Collapsed by default, opened with the search button (see master.blade.php)
|
||||
.search_form {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top_menu_container, .menu_mobile_container {
|
||||
height: 50px;
|
||||
@include container;
|
||||
|
||||
@@ -195,7 +195,6 @@
|
||||
//$('.right_menu a span').animate({width: 'toggle'}, 350);
|
||||
//$('.right_menu li').toggleClass('collapsed');
|
||||
});
|
||||
$(".search_form").animate({width: 'toggle'}, 1);
|
||||
</script>
|
||||
@stack('scripts')
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user