diff options
| author | horus | 2022-01-07 15:28:23 +0100 |
|---|---|---|
| committer | horus | 2022-01-07 15:28:23 +0100 |
| commit | afbc9df6c8e8c64a2ae29c85ffaf89e06ec25440 (patch) | |
| tree | 8311e41dd840537970b66e579b19ab8d6c359d00 /resources | |
| parent | 843052036ae0c8e094d404b9786acc6ace48b5c5 (diff) | |
| download | kategorischeraperitif-afbc9df6c8e8c64a2ae29c85ffaf89e06ec25440.tar.gz | |
small quirk with the brand image in the navbar
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/layouts/base.blade.php | 8 | ||||
| -rw-r--r-- | resources/views/snippets/navbar.blade.php | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.php index 4df6958..f1bc1f8 100644 --- a/resources/views/layouts/base.blade.php +++ b/resources/views/layouts/base.blade.php @@ -35,6 +35,14 @@ display:none !important } } + .navbar-brand-img { + margin-right: 5px; + } + @media (max-width:768px) { + .navbar-brand-img { + margin-left: -10px; + } + } </style> diff --git a/resources/views/snippets/navbar.blade.php b/resources/views/snippets/navbar.blade.php index fcee0f4..c57b1d8 100644 --- a/resources/views/snippets/navbar.blade.php +++ b/resources/views/snippets/navbar.blade.php @@ -5,7 +5,7 @@ <a class="skip-link sr-only sr-only-focusable" href="#content">Skip to content</a> <nav class="navbar navbar-expand-lg"> <!-- Your site title as branding in the menu --> - <a class="navbar-brand" rel="home" href="{{ env('APP_URL') }}" title="KategorischerAperitif.de vom Fuselkönig" itemprop="url"><img src="https://www.fuselkoenig.de/wp-content/themes/fuselkoenig_de_v2/img/paw_with_glencairn.png" width=60 height=60 alt="logo"> Kategorischer Aperitif</a></a> + <a class="navbar-brand" rel="home" href="{{ env('APP_URL') }}" title="KategorischerAperitif.de vom Fuselkönig" itemprop="url"><img src="https://www.fuselkoenig.de/wp-content/themes/fuselkoenig_de_v2/img/paw_with_glencairn.png" width=60 height=60 alt="logo" class="navbar-brand-img"> Kategorischer Aperitif</a></a> <!-- end custom logo --> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> |
