Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Commit 76ea8fc

Browse files
committed
fix: resolve undefined var
1 parent 15fd12e commit 76ea8fc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sleek/views/components/navigation/index.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
@props(['navTopStyle' => null])
2+
13
<nav
24
class="w-full bg-background-secondary border-b border-neutral/20 md:h-16 flex md:flex-row flex-col justify-between fixed top-0 z-20"
3-
style="{{ $navTopStyle }}">
5+
@if ($navTopStyle) style="{{ $navTopStyle }}" @endif>
46
<div x-data="{
57
slideOverOpen: false
68
}" x-init="$watch('slideOverOpen', value => { document.documentElement.style.overflow = value ? 'hidden' : '' })" class="relative z-50 w-full h-auto">

0 commit comments

Comments
 (0)