Skip to content

Commit

Permalink
Merge pull request #626 from addeeandra/fix/navigation-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Sep 19, 2024
2 parents 315f2e3 + 6e161a3 commit 8b04529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/layouts/navigation.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@php
$navClasses = 'fixed z-50 inset-0 h-0 flex md:justify-end md:px-4 ';
$navClasses = 'fixed z-50 inset-0 h-16 flex md:justify-end md:px-4 ';
$navClasses .= auth()->check() ? ' justify-center' : ' justify-end px-4';
@endphp

<nav>
<div class="{{ $navClasses }}">
<div class="flex h-16 md:justify-end bg-slate-900/50 backdrop-blur-sm w-full justify-center md:bg-transparent md:backdrop-blur-none">
<div class="{{ $navClasses }} backdrop-blur-sm md:backdrop-blur-none">
<div class="flex h-16 justify-between">
<div
class="flex items-center space-x-2.5"
x-data
Expand Down

0 comments on commit 8b04529

Please sign in to comment.