Fix: edit button visibility on app card in dark mode (#12437)

This commit is contained in:
Devanshu Gupta 2025-04-07 14:58:01 +05:30 committed by GitHub
parent 07471ab051
commit 8038df15a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,10 +200,10 @@ export default function AppCard({
<button
type="button"
className="tj-primary-btn tj-text-xsm edit-button"
style={{ color: darkMode ? '#11181C' : '#FDFDFE' }}
style={{ color: darkMode ? '#FFFFFF' : '#FDFDFE' }}
data-cy="edit-button"
>
<SolidIcon name="editrectangle" width="14" fill={darkMode ? '#11181C' : '#FDFDFE'} />
<SolidIcon name="editrectangle" width="14" fill={darkMode ? '#FFFFFF' : '#FDFDFE'} />
&nbsp;{t('globals.edit', 'Edit')}
</button>
</Link>