diff --git a/resources/assets/sass/_helpers.scss b/resources/assets/sass/_helpers.scss index 34c8690..8ddad0c 100644 --- a/resources/assets/sass/_helpers.scss +++ b/resources/assets/sass/_helpers.scss @@ -12,3 +12,9 @@ opacity: 0; } } + +@media (max-width:767px){ + .mobile-only { + display: none; + } +} diff --git a/resources/assets/sass/bootstrap-customizations/_navbar.scss b/resources/assets/sass/bootstrap-customizations/_navbar.scss index 52446a8..a070142 100644 --- a/resources/assets/sass/bootstrap-customizations/_navbar.scss +++ b/resources/assets/sass/bootstrap-customizations/_navbar.scss @@ -4,23 +4,13 @@ border-bottom: 1px solid $primary; box-shadow: 0 -3px 8px rgba(black, 1); -} - -.page-navbar .container { - align-items: stretch; -} -.navbar-collapse { - align-items: stretch; + white-space: nowrap; } -.navbar-nav { - align-items: stretch; - - li a { - display: inline-block; - padding: $sp1; - } +.nav-link { + padding: $sp1 $sp3; + display: inline-block; } .dropdown-menu { diff --git a/resources/views/layouts/main-nav.blade.php b/resources/views/layouts/main-nav.blade.php index d7f4edd..3a19036 100644 --- a/resources/views/layouts/main-nav.blade.php +++ b/resources/views/layouts/main-nav.blade.php @@ -35,7 +35,27 @@ @else -