Change tailwind prefix

This commit is contained in:
Maximilian Harz 2025-04-29 11:09:15 +02:00
parent b1c8f72a57
commit eab00c5fe1
2 changed files with 9 additions and 9 deletions

View File

@ -176,10 +176,10 @@ export function ItemFormPopup(props: Props) {
onSubmit={(e) => handleSubmit(e)}
>
{popupForm.item ? (
<div className='tw-h-3'></div>
<div className='tw:h-3'></div>
) : (
<div className='tw-flex tw-justify-center'>
<b className='tw-text-xl tw-text-center tw-font-bold'>{menuText}</b>
<div className='tw:flex tw:justify-center'>
<b className='tw:text-xl tw:text-center tw:font-bold'>{menuText}</b>
</div>
)}
@ -201,21 +201,21 @@ export function ItemFormPopup(props: Props) {
placeholder='Text'
dataField='text'
defaultValue={popupForm.item?.text ?? ''}
inputStyle='tw-h-40 tw-mt-5'
inputStyle='tw:h-40 tw:mt-5'
/>
</>
)}
<div className='tw-flex tw-justify-center'>
<div className='tw:flex tw:justify-center'>
<button
className={
spinner
? 'tw-btn tw-btn-disabled tw-mt-5 tw-place-self-center'
: 'tw-btn tw-mt-5 tw-place-self-center'
? 'tw:btn tw:btn-disabled tw:mt-5 tw:place-self-center'
: 'tw:btn tw:mt-5 tw:place-self-center'
}
type='submit'
>
{spinner ? <span className='tw-loading tw-loading-spinner'></span> : 'Save'}
{spinner ? <span className='tw:loading tw:loading-spinner'></span> : 'Save'}
</button>
</div>
</form>

View File

@ -100,7 +100,7 @@ export const ItemViewPopup = forwardRef((props: ItemViewPopupProps, ref: any) =>
}}
loading={loading}
/>
<div className='tw-overflow-y-auto tw-overflow-x-hidden tw-max-h-64 fade'>
<div className='tw:overflow-y-auto tw:overflow-x-hidden tw:max-h-64 fade'>
{props.children ?? <TextView text={props.item.text} itemId={props.item.id} />}
</div>
<div className='tw:flex tw:-mb-1 tw:flex-row tw:mr-2 tw:mt-1'>