Skip to content

Commit

Permalink
Add nowrap for FAQ/Support link
Browse files Browse the repository at this point in the history
  • Loading branch information
PaperTurtle committed Dec 20, 2023
1 parent 4fec248 commit bad1029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/nav-link.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@props(['active'])

@php
$classes = $active ?? false ? 'inline-flex items-center py-2 px-2 md:px-4 rounded-full bg-background font-semibold transition-colors duration-300 text-sm lg:text-base' : 'inline-flex items-center py-2 px-4 rounded-full hover:bg-secondary hover:text-text transition-colors duration-300 text-sm lg:text-base text-background font-semibold';
$classes = $active ?? false ? 'inline-flex items-center py-2 px-2 md:px-4 rounded-full bg-background font-semibold transition-colors duration-300 text-sm lg:text-base whitespace-nowrap' : 'inline-flex items-center py-2 px-4 rounded-full hover:bg-secondary hover:text-text transition-colors duration-300 text-sm lg:text-base text-background font-semibold whitespace-nowrap';
@endphp

<a {{ $attributes->merge(['class' => $classes]) }}>
Expand Down

0 comments on commit bad1029

Please sign in to comment.