Skip to content

Commit

Permalink
Add responsive visibility class to register button in header
Browse files Browse the repository at this point in the history
  • Loading branch information
abdessamadbettal committed Dec 11, 2024
1 parent 576dcb8 commit 997aa0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Components/Layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const headerClass = computed(() => {
{{ $t('auth.login') }}
</Button>

<Button :href="route('register')" v-if="!route().current('register')">
<Button :href="route('register')" v-if="!route().current('register')" class="hidden md:inline">
{{ $t('auth.register') }} <span v-text="'now'" class="hidden lg:inline pl-1" />
</Button>
</template>
Expand Down

0 comments on commit 997aa0c

Please sign in to comment.