slightly improve menus

pull/27/head
Ondřej Hruška 6 years ago
parent 1e8deaef1a
commit bfdf1ece5a
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      resources/views/layouts/main-nav.blade.php
  2. 2
      resources/views/layouts/nav-buttons.blade.php

@ -54,6 +54,7 @@
</div>
<noscript>
@sr(Menu for users without JavaScript)
<ul class="navbar-nav ml-auto">
@guest
@include('layouts.guest-buttons')

@ -1,7 +1,7 @@
@php
$dmdhide = isset($noscript)?'':'d-md-none';
$li = $dropdown ? '' : "<li class=\"nav-item ml-1 $dmdhide\">";
$li = $dropdown ? '' : "<li class=\"nav-item ml-1 $dmdhide\" aria-hidden=\"true\">";
$aclass = $dropdown ? 'dropdown-item' : 'nav-link';
@endphp

Loading…
Cancel
Save