Skip to content

Commit

Permalink
Adjust logo text styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Nov 16, 2024
1 parent 1dc02bd commit 3e9fedd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion resources/assets/sass/custom/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ body:not(.bookmarklet) {
}
}

.navbar-brand {
.navbar-brand.custom-brand {
font-family: $font-family-sans-condensed;
font-size: $font-size-lg;
font-weight: bold;
}

.card-table {
Expand Down
4 changes: 2 additions & 2 deletions resources/views/partials/nav.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<nav class="navbar navbar-dark navbar-expand bg-primary shadow-sm d-none d-md-flex">
<div class="container">
<a class="navbar-brand" href="{{ route('dashboard') }}">
<a class="navbar-brand{{ systemsettings('logo_text') ? ' custom-brand' : '' }}" href="{{ route('dashboard') }}">
@if(systemsettings('logo_text'))
{{ systemsettings('logo_text') }}
@else
Expand Down Expand Up @@ -65,7 +65,7 @@

<div class="navbar navbar-dark navbar-expand brand-only bg-primary shadow-sm d-md-none">
<div class="container">
<a class="navbar-brand" href="{{ route('dashboard') }}">
<a class="navbar-brand{{ systemsettings('logo_text') ? ' custom-brand' : '' }}" href="{{ route('dashboard') }}">
@if(systemsettings('logo_text'))
{{ systemsettings('logo_text') }}
@else
Expand Down

0 comments on commit 3e9fedd

Please sign in to comment.