mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Change tailwind prefix
This commit is contained in:
parent
b1c8f72a57
commit
eab00c5fe1
@ -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>
|
||||
|
||||
@ -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'>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user