1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00

Merge pull request #6915 from beganovich/jira-596

Hide client name on small devices
This commit is contained in:
David Bomba 2021-10-28 05:20:44 +11:00 committed by GitHub
commit b6c3eb4bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@
<button data-ref="client-profile-dropdown" @click="open = !open" <button data-ref="client-profile-dropdown" @click="open = !open"
class="max-w-xs flex items-center text-sm rounded-full focus:outline-none focus:shadow-outline"> class="max-w-xs flex items-center text-sm rounded-full focus:outline-none focus:shadow-outline">
<img class="h-8 w-8 rounded-full" src="{{ auth('contact')->user()->avatar() }}" alt=""/> <img class="h-8 w-8 rounded-full" src="{{ auth('contact')->user()->avatar() }}" alt=""/>
<span class="ml-2">{{ auth('contact')->user()->present()->name() }}</span> <span class="ml-2 hidden sm:block">{{ auth('contact')->user()->present()->name() }}</span>
</button> </button>
</div> </div>
<div x-show="open" style="display:none;" x-transition:enter="transition ease-out duration-100" <div x-show="open" style="display:none;" x-transition:enter="transition ease-out duration-100"