0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Updated sizing of setting group value in AdminX

refs. https://github.com/TryGhost/Team/issues/3150
This commit is contained in:
Peter Zimon 2023-05-29 10:31:32 +02:00
parent 610ba33513
commit 8732231abf

View file

@ -13,8 +13,8 @@ const SettingValue: React.FC<ISettingValue> = ({heading, value, hint, ...props})
return (
<div className='flex flex-col' {...props}>
{heading && <Heading grey={true} level={6}>{heading}</Heading>}
<div className={`-mt-0.5 flex items-center ${heading && `min-h-[36px]`}`}>{value}</div>
{hint && <p className='mt-0.5 text-xs'>{hint}</p>}
<div className={`flex items-center ${heading && `mt-1`}`}>{value}</div>
{hint && <p className='mt-1 text-xs'>{hint}</p>}
</div>
);
};