fix: Correct structure of expandable section in MergePreviewForm component

This commit is contained in:
Nils-Johan Gynther
2026-04-12 09:01:42 +02:00
parent c814fbdddf
commit a76fc5ecc5
@@ -127,8 +127,7 @@ export default function MergePreviewForm({ products }: Props) {
</button> </button>
{isExpanded && ( {isExpanded && (
<div style={{ padding: '1rem', background: '#f9fafb', display: 'grid', gap: '1rem' }} <div style={{ padding: '1rem', background: '#f9fafb', display: 'grid', gap: '1rem' }}>
<div style={{ display: 'grid', gap: '0.75rem', gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))' }}> <div style={{ display: 'grid', gap: '0.75rem', gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))' }}>
<label style={{ display: 'grid', gap: '0.3rem' }}> <label style={{ display: 'grid', gap: '0.3rem' }}>
<span style={{ fontWeight: 500, fontSize: '0.9rem' }}>Source product (ska bort)</span> <span style={{ fontWeight: 500, fontSize: '0.9rem' }}>Source product (ska bort)</span>