Skip to content

Commit

Permalink
Improved Layout (rounded corners)
Browse files Browse the repository at this point in the history
  • Loading branch information
MGeurts committed Jan 4, 2025
1 parent 90e59c3 commit 5d2653a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/action-section.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</x-section-title>

<div class="mt-5 md:mt-0 md:col-span-2">
<div class="px-4 py-5 sm:p-6 bg-white sm:rounded">
<div class="px-4 py-5 sm:p-6 bg-white rounded">
{{ $content }}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/form-section.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<form wire:submit="{{ $submit }}">
@csrf

<div class="px-4 py-5 bg-white sm:p-6 {{ isset($actions) ? 'sm:rounded-tl sm:rounded-tr' : 'sm:rounded' }}">
<div class="px-4 py-5 bg-white sm:p-6 {{ isset($actions) ? 'rounded-tl rounded-tr' : 'rounded' }}">
<div class="grid grid-cols-6 gap-5">
{{ $form }}
</div>
</div>

@if (isset($actions))
<div class="flex items-center justify-end px-4 py-3 text-right bg-gray-200 sm:px-6 sm:rounded-bl sm:rounded-br">
<div class="flex items-center justify-end px-4 py-3 text-right bg-gray-200 sm:px-6 rounded-bl rounded-br">
{{ $actions }}
</div>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/section-title.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="md:col-span-1 flex justify-between">
<div class="px-4 sm:px-0">
<div>
<h3 class="text-lg font-medium text-gray-900">{{ $title }}</h3>

<p class="mt-1 text-sm text-gray-600">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/under-construction.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="flex flex-col items-center">
<div class="flex flex-col items-center mt-5">
<div><img src="{{ asset('img/under-construction.webp') }}" alt="{{ __('app.under_construction') }}" class="w-80 rounded" /></div>
<div class="text-red-500">{{ strtoupper(__('app.under_construction')) }}</div>
<div class="text-red-500 mt-2 text-lg">{{ strtoupper(__('app.under_construction')) }}</div>
</div>
4 changes: 2 additions & 2 deletions resources/views/teams/transfer-ownership.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@csrf
@method('PUT')

<div class="px-4 py-5 bg-white sm:p-6 sm:rounded-tl sm:rounded-tr">
<div class="px-4 py-5 bg-white sm:p-6 rounded-tl rounded-tr">
<div class="grid grid-cols-6 gap-5">
<div class="col-span-6">
<div class="max-w-xl text-sm text-gray-600">
Expand Down Expand Up @@ -47,7 +47,7 @@
</div>
</div>

<div class="flex items-center justify-end px-4 py-3 text-right bg-gray-200 sm:px-6 sm:rounded-bl sm:rounded-br">
<div class="flex items-center justify-end px-4 py-3 text-right bg-gray-200 sm:px-6 rounded-bl rounded-br">
<x-ts-button type="submit" color="primary">
{{ __('team.transfer') }}
</x-ts-button>
Expand Down

0 comments on commit 5d2653a

Please sign in to comment.