Skip to content

Commit

Permalink
style: Fixed table
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Jul 28, 2024
1 parent 3bd59e3 commit c4f4a63
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/table/table-row.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white dark:bg-gray-800/50 dark:border-gray-800/30 border border-gray-950/5 rounded-[0.70rem] sm:rounded-[0.70rem] shadow-none transition duration-300 ease-in-out hover:shadow-md overflow-hidden">
<div class="bg-transparent dark:border-gray-800/30 border-b border-gray-950/5 rounded-none shadow-none transition duration-300 ease-in-out hover:shadow-md overflow-hidden">
<div class="grid grid-cols-12 gap-4 items-center p-4 text-sm">
{{ $slot }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div>
<div class="mb-6">
<div x-data="{ loaded: false }" x-init="setTimeout(() => loaded = true, 1000)"
class="flex flex-col sm:flex-row items-center bg-white dark:bg-gray-800 rounded-lg shadow-sm p-4">
class="flex flex-col sm:flex-row items-center bg-white dark:bg-gray-800/50 rounded-lg shadow-sm p-4">
<div class="relative h-16 w-16">
<div
x-show="!loaded"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white dark:bg-gray-800 rounded-none transition-all duration-300 overflow-hidden mb-4">
<div class="bg-transparent rounded-none transition-all duration-300 overflow-hidden mb-4">
<div class="p-3 space-y-4">
<!-- Responsive View (Collapsible) -->
<div class="md:hidden">
Expand Down
18 changes: 11 additions & 7 deletions resources/views/livewire/profile/delete-user-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,17 @@ class="mt-2 block w-full"
</x-input-explain>
</div>

<div class="mt-6 flex justify-end">
<x-danger-button>
{{ __('Remove Account') }}
</x-danger-button>
<x-secondary-button x-on:click="$dispatch('close')" class="ms-3">
{{ __('Cancel') }}
</x-secondary-button>
<div class="flex space-x-5">
<div class="w-4/6">
<x-danger-button type="button" wire:click="deleteUser" class="mt-4" centered action="deleteUser" loadingText="Removing...">
{{ __('Confirm Removal') }}
</x-danger-button>
</div>
<div class="w-2/6 ml-2">
<x-secondary-button type="button" class="mt-4" centered x-on:click="$dispatch('close')">
{{ __('Cancel') }}
</x-secondary-button>
</div>
</div>
</form>
</x-modal>
Expand Down

0 comments on commit c4f4a63

Please sign in to comment.