Skip to content

Commit

Permalink
style: Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Aug 23, 2024
1 parent ccb4b36 commit fcebf26
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/livewire/profile/api-page.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ __('Manage API Tokens') }}
</x-slot>
<x-slot name="action">
<x-primary-button x-data="" x-on:click.prevent="$dispatch('open-modal', 'create-api-token')">
<x-primary-button x-data="" x-on:click.prevent="$dispatch('open-modal', 'create-api-token')" centered>
{{ __('Create Token') }}
</x-primary-button>
</x-slot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function deleteUser(Logout $logout): void
</x-slot>
<x-slot name="icon">heroicon-o-exclamation-triangle</x-slot>

<div class="mb-8 p-6 bg-red-50 dark:bg-red-950 rounded-lg shadow-md">
<div class="mb-8 p-6 bg-red-50 dark:bg-red-950 rounded-lg">
<div class="flex items-center mb-4">
@svg('heroicon-o-exclamation-circle', 'w-8 h-8 text-red-500 dark:text-red-400 mr-3')
<h3 class="text-xl font-semibold text-red-700 dark:text-red-300">{{ __('Warning: Irreversible Action') }}</h3>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/profile/help-page.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white dark:bg-gray-900">
<div>
@section('title', __('Need Help?'))

<x-slot name="header">
Expand Down
7 changes: 7 additions & 0 deletions resources/views/livewire/tags/index-table.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<div>
<x-slot name="action">
<a href="{{ route('tags.create') }}" wire:navigate>
<x-primary-button x-data="" centered>
{{ __('Make Tag') }}
</x-primary-button>
</a>
</x-slot>
@if ($tags->isEmpty())
<x-no-content withBackground>
<x-slot name="icon">
Expand Down

0 comments on commit fcebf26

Please sign in to comment.