Improve alignment in system info and status components
Adjusted flex alignment and added 'items-baseline' and 'self-center' classes to enhance vertical alignment of icons and content in SystemInfoItem and SystemStatusItem components for better UI consistency.
This commit is contained in:
1 parent
a5a6f14cec
commit
c90ebba7d2
2 files changed
+25
-13
No files matched your search
@@ -29,7 +29,7 @@ const SystemStatusItem: React.FC<SystemStatusItemProps> = ({
|
||||
<div
|
||||
className={clsx(
|
||||
'py-1.5 text-sm transition-colors',
|
||||
size === 'lg' ? 'col-span-2' : 'col-span-1 flex justify-between',
|
||||
size === 'lg' ? 'col-span-2' : 'col-span-1 flex justify-between items-center',
|
||||
)}
|
||||
>
|
||||
<div className={clsx(
|
||||
|
||||
Reference in new issue
Block a user