M: Small UI fixes
This commit is contained in:
parent
7100738706
commit
1078a271fb
|
@ -123,7 +123,7 @@ function FormCreateItem() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<form className={clsx('cc-column', 'min-w-[30rem] max-w-[30rem] mx-auto', 'px-6 py-3')} onSubmit={handleSubmit}>
|
<form className={clsx('cc-column', 'min-w-[30rem] max-w-[30rem] mx-auto', 'px-6 py-3')} onSubmit={handleSubmit}>
|
||||||
<h1>
|
<h1 className='select-none'>
|
||||||
{itemType == LibraryItemType.RSFORM ? (
|
{itemType == LibraryItemType.RSFORM ? (
|
||||||
<Overlay position='top-0 right-[0.5rem]'>
|
<Overlay position='top-0 right-[0.5rem]'>
|
||||||
<input
|
<input
|
||||||
|
|
|
@ -32,7 +32,7 @@ function ParsingResult({ isOpen, data, disabled, onShowError }: ParsingResultPro
|
||||||
<p
|
<p
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
key={`error-${index}`}
|
key={`error-${index}`}
|
||||||
className={`clr-text-red ${disabled ? '' : 'cursor-pointer'}`}
|
className={`clr-text-red break-all ${disabled ? '' : 'cursor-pointer'}`}
|
||||||
onClick={disabled ? undefined : () => onShowError(error)}
|
onClick={disabled ? undefined : () => onShowError(error)}
|
||||||
>
|
>
|
||||||
<span className='mr-1 font-semibold underline'>
|
<span className='mr-1 font-semibold underline'>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user