0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Updated hide comment button to be red (#21641)

REF
https://linear.app/ghost/issue/PLG-239/indicate-that-youre-an-admin-in-ui
This commit is contained in:
Sanne de Vries 2024-11-18 13:10:06 +01:00 committed by GitHub
parent 5ef30dbb3c
commit 0d417a5859
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ const AdminContextMenu: React.FC<Props> = ({comment, close}) => {
</button>
:
<button className="w-full text-left text-[14px]" type="button" onClick={hideComment}>
<span className="hidden sm:inline">{t('Hide comment')}</span><span className="sm:hidden">{t('Hide')}</span>
<span className="hidden text-red-600 sm:inline">{t('Hide comment')}</span><span className="text-red-600 sm:hidden">{t('Hide')}</span>
</button>
}
</div>