From 5581b9dd93dab5a1511388f287dce59feb4153f7 Mon Sep 17 00:00:00 2001 From: Eryk Mika <eryk.mika@wpdesk.eu> Date: Thu, 6 Mar 2025 15:29:56 +0100 Subject: [PATCH] fix: duo input layout fixes --- src/DuoInput/DuoInput.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DuoInput/DuoInput.jsx b/src/DuoInput/DuoInput.jsx index 97150fa..81b6e0e 100644 --- a/src/DuoInput/DuoInput.jsx +++ b/src/DuoInput/DuoInput.jsx @@ -17,8 +17,8 @@ export default function DuoInput({label, onChange, values, layout = 'column'}) { <div className='fi-field-label-wrapper'> <span className='fi-field-label'>{label}</span> </div> - <div className='fi-field-buttons-wrapper fi-duo-fields-wrapper' style={{flexDirection: layout}}> - <div className='fi-duo-fields'> + <div className='fi-field-buttons-wrapper fi-duo-fields-wrapper'> + <div className='fi-duo-fields' style={{ display: 'flex', flexDirection: layout}}> <NumberWithUnit className='fi-duo-field fi-duo-field-input' value={valuesArray[0]} -- GitLab