Update style

This commit is contained in:
Ariful Alam
2022-03-19 22:12:38 +06:00
parent 7a935e9cb5
commit fdffd280b7
2 changed files with 61 additions and 63 deletions

View File

@@ -18,11 +18,11 @@ import config from '../../ezprofile.config';
const ListItem = ({ icon, title, value, link, skeleton = false }) => {
return (
<div class="flex justify-start py-2 px-1 items-center">
<span class="w-2 m-2">{icon}</span>
<div class="flex-grow font-medium px-2">{title}</div>
<div className="flex justify-start py-2 px-1 items-center">
<span className="w-2 m-2">{icon}</span>
<div className="flex-grow font-medium px-2">{title}</div>
<div
class={`${
className={`${
skeleton ? 'flex-grow' : ''
} text-sm font-normal text-right mr-2 ml-3 ${link ? 'truncate' : ''}`}
>