feat(ItemCard): refactor action buttons to use item-card-actions class for consistent styling

This commit is contained in:
alexsparkes
2026-02-03 19:54:02 +00:00
parent ee89ebcd4d
commit fb9787642b
2 changed files with 9 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ function ItemCard({
)}
{isAdded && onUninstall && (
<div style={{ display: 'flex', gap: '8px', marginTop: '10px', width: '100%' }}>
<div className="item-card-actions">
<Button
type="settings"
onClick={(e) => {
@@ -227,7 +227,6 @@ function ItemCard({
setShowSettingsModal(true);
}}
icon={<MdSettings />}
label={variables.getMessage('modals.main.marketplace.product.buttons.settings')}
style={{ flex: 1 }}
/>
<Button
@@ -237,7 +236,6 @@ function ItemCard({
onUninstall(item.type, item.name);
}}
icon={<MdClose />}
label={variables.getMessage('modals.main.marketplace.product.buttons.remove')}
style={{ flex: 1 }}
/>
</div>