mirror of https://github.com/logos-co/open-law.git
fix profile on mobile
This commit is contained in:
parent
8306b1d834
commit
a387576363
File diff suppressed because one or more lines are too long
|
@ -9,20 +9,20 @@
|
|||
{% if user.is_deleted %}
|
||||
<h1 class="hidden md:inline font-extrabold text-lg dark:text-white ml-4">Sorry this user was deactivated</h1>
|
||||
{% else %}
|
||||
<div class="flex p-5 items-center">
|
||||
<div class="flex flex-col md:flex-row p-3 md:p-5 md:items-center">
|
||||
<!-- prettier-ignore -->
|
||||
{% if user.avatar_img %}
|
||||
<!-- prettier-ignore -->
|
||||
<img class=" w-10 h-10 rounded-full mr-3" src="data:image/jpeg;base64,{{ user.avatar_img }}" alt="user avatar">
|
||||
<img class="hidden md:block w-10 h-10 rounded-full mr-3" src="data:image/jpeg;base64,{{ user.avatar_img }}" alt="user avatar">
|
||||
{% else %}
|
||||
<!-- prettier-ignore -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-10 h-10"> <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" /> </svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="hidden md:block w-10 h-10"> <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" /> </svg>
|
||||
{% endif %}
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
<h1 class="hidden md:inline font-extrabold text-lg dark:text-white ml-4">{{user.username}}</h1>
|
||||
<h1 class="inline font-extrabold text-lg dark:text-white ml-4">{{user.username}}</h1>
|
||||
<!-- prettier-ignore -->
|
||||
<span class="hidden md:block text-sm ml-4 w-1/2 text-gray-500 text-center md:text-left dark:text-gray-400">
|
||||
<span class="block text-xs md:text-sm ml-4 w-1/2 text-gray-500 text-center md:text-left dark:text-gray-400">
|
||||
{{user.wallet_id}}
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -7,7 +7,11 @@ module.exports = {
|
|||
'./node_modules/flowbite/**/*.js',
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
extend: {
|
||||
margin: {
|
||||
135: '135px',
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require('flowbite/plugin')],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue