fix:mobile improvements
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
</x-forms.form-section>
|
</x-forms.form-section>
|
||||||
|
|
||||||
@if ($this->user->tokens->isNotEmpty())
|
@if ($this->user->tokens->isNotEmpty())
|
||||||
<x-section-border />
|
<x-section-border hide-on-mobile />
|
||||||
|
|
||||||
<!-- Manage API Tokens -->
|
<!-- Manage API Tokens -->
|
||||||
<div class="mt-10 sm:mt-0">
|
<div class="mt-10 sm:mt-0">
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</x-menu>
|
</x-menu>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="p-4">
|
<div class="px-3">
|
||||||
|
|
||||||
<x-section-border />
|
<x-section-border />
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
$user = auth()->user();
|
$user = auth()->user();
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<x-list-item :item="$user" avatar="profile_photo_url" value="name" sub-value="email" no-separator no-hover class="-mx-2 !-mt-3 rounded">
|
<x-list-item :item="$user" avatar="profile_photo_url" value="name" sub-value="email" no-separator no-hover class="mb-3 !-mt-3 rounded">
|
||||||
<x-slot:actions>
|
<x-slot:actions>
|
||||||
<x-dropdown>
|
<x-dropdown>
|
||||||
<x-slot:trigger>
|
<x-slot:trigger>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<x-menu-item title="{{ __('Manage Profile') }}" icon="o-user" link="{{ @route('profile.show') }}" />
|
<x-menu-item title="{{ __('Manage Profile') }}" icon="o-user" link="{{ @route('profile.show') }}" />
|
||||||
<x-menu-item title="{{ __('Import / Export Data') }}" icon="o-cloud-arrow-down" link="{{ @route('import-export') }}" />
|
<x-menu-item title="{{ __('Import / Export Data') }}" icon="o-cloud-arrow-down" link="{{ @route('import-export') }}" />
|
||||||
|
|
||||||
<x-section-border class="py-3" />
|
<x-section-border class="py-1" />
|
||||||
|
|
||||||
<x-menu-item title="{{ __('Log Out') }}" icon="o-power" onclick="event.preventDefault(); document.getElementById('logout').submit();" />
|
<x-menu-item title="{{ __('Log Out') }}" icon="o-power" onclick="event.preventDefault(); document.getElementById('logout').submit();" />
|
||||||
<form id="logout" action="{{ route('logout') }}" method="POST" style="display: none;">
|
<form id="logout" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
<div class="hidden sm:block">
|
<div {{ $attributes->class(['h-4 sm:h-auto' => $attributes->has('hide-on-mobile')]) }}>
|
||||||
<div {{ $attributes->class(['py-6' => !$attributes->has('class')]) }}>
|
<div {{ $attributes->class(['py-6' => !$attributes->has('class')]) }}>
|
||||||
|
|
||||||
<div class="border-t border-gray-200 dark:border-gray-700"></div>
|
<hr class="hidden sm:block border-t border-gray-200 dark:border-gray-700" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
@livewire('import-portfolios-field')
|
@livewire('import-portfolios-field')
|
||||||
|
|
||||||
<x-section-border />
|
<x-section-border hide-on-mobile />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
|
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
@if (Laravel\Fortify\Features::canUpdateProfileInformation())
|
@if (Laravel\Fortify\Features::canUpdateProfileInformation())
|
||||||
@livewire('profile.update-profile-information-form')
|
@livewire('profile.update-profile-information-form')
|
||||||
|
|
||||||
<x-section-border />
|
<x-section-border hide-on-mobile />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords()))
|
@if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords()))
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
@livewire('profile.update-password-form')
|
@livewire('profile.update-password-form')
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<x-section-border />
|
<x-section-border hide-on-mobile />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (Laravel\Fortify\Features::canManageTwoFactorAuthentication())
|
@if (Laravel\Fortify\Features::canManageTwoFactorAuthentication())
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
@livewire('profile.two-factor-authentication-form')
|
@livewire('profile.two-factor-authentication-form')
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<x-section-border />
|
<x-section-border hide-on-mobile />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="mt-10 sm:mt-0">
|
<div class="mt-10 sm:mt-0">
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures())
|
@if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures())
|
||||||
<x-section-border />
|
<x-section-border hide-on-mobile />
|
||||||
|
|
||||||
<div class="mt-10 sm:mt-0">
|
<div class="mt-10 sm:mt-0">
|
||||||
@livewire('profile.delete-user-form')
|
@livewire('profile.delete-user-form')
|
||||||
|
|||||||
Reference in New Issue
Block a user