mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Small UI fixes
This commit is contained in:
parent
c138315deb
commit
8e84d570e3
|
@ -18,7 +18,7 @@ function SubmitButton({
|
|||
return (
|
||||
<button type='submit'
|
||||
className={clsx(
|
||||
'px-3 py-2 inline-flex items-center gap-2 align-middle justify-center',
|
||||
'px-3 py-2 flex gap-2 items-center justify-center',
|
||||
'border',
|
||||
'font-semibold',
|
||||
'clr-btn-primary',
|
||||
|
|
|
@ -77,7 +77,7 @@ function EditorRSForm({
|
|||
setIsModified={setIsModified}
|
||||
/>
|
||||
|
||||
<Divider margins='my-2' />
|
||||
<Divider margins='my-1' />
|
||||
|
||||
<InfoLibraryItem item={schema} />
|
||||
</FlexColumn>
|
||||
|
|
|
@ -126,7 +126,7 @@ function FormRSForm({
|
|||
</div>
|
||||
<SubmitButton
|
||||
text='Сохранить изменения'
|
||||
className='self-center my-2'
|
||||
className='self-center'
|
||||
loading={processing}
|
||||
disabled={!isModified || disabled}
|
||||
icon={<FiSave size='1.5rem' />}
|
||||
|
|
|
@ -63,7 +63,7 @@ function RSFormToolbar({
|
|||
/>
|
||||
<MiniButton
|
||||
title={claimable ? 'Стать владельцем' : 'Невозможно стать владельцем' }
|
||||
icon={<LuCrown size='1.25rem' className={!claimable ? '' : 'clr-text-success'}/>}
|
||||
icon={<LuCrown size='1.25rem' className={!claimable || anonymous ? '' : 'clr-text-success'}/>}
|
||||
disabled={!claimable || anonymous || processing}
|
||||
onClick={onClaim}
|
||||
/>
|
||||
|
|
|
@ -91,7 +91,7 @@ function RSTabsMenu({
|
|||
}
|
||||
|
||||
function handleCreateNew() {
|
||||
router.push('/rsform-create');
|
||||
router.push('/library/create');
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user