M: Small UI fixes

This commit is contained in:
Ivan 2024-09-07 16:26:16 +03:00
parent 7100738706
commit 1078a271fb
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ function FormCreateItem() {
return (
<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 ? (
<Overlay position='top-0 right-[0.5rem]'>
<input

View File

@ -32,7 +32,7 @@ function ParsingResult({ isOpen, data, disabled, onShowError }: ParsingResultPro
<p
tabIndex={-1}
key={`error-${index}`}
className={`clr-text-red ${disabled ? '' : 'cursor-pointer'}`}
className={`clr-text-red break-all ${disabled ? '' : 'cursor-pointer'}`}
onClick={disabled ? undefined : () => onShowError(error)}
>
<span className='mr-1 font-semibold underline'>