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 (
|
return (
|
||||||
<button type='submit'
|
<button type='submit'
|
||||||
className={clsx(
|
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',
|
'border',
|
||||||
'font-semibold',
|
'font-semibold',
|
||||||
'clr-btn-primary',
|
'clr-btn-primary',
|
||||||
|
|
|
@ -77,7 +77,7 @@ function EditorRSForm({
|
||||||
setIsModified={setIsModified}
|
setIsModified={setIsModified}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Divider margins='my-2' />
|
<Divider margins='my-1' />
|
||||||
|
|
||||||
<InfoLibraryItem item={schema} />
|
<InfoLibraryItem item={schema} />
|
||||||
</FlexColumn>
|
</FlexColumn>
|
||||||
|
|
|
@ -126,7 +126,7 @@ function FormRSForm({
|
||||||
</div>
|
</div>
|
||||||
<SubmitButton
|
<SubmitButton
|
||||||
text='Сохранить изменения'
|
text='Сохранить изменения'
|
||||||
className='self-center my-2'
|
className='self-center'
|
||||||
loading={processing}
|
loading={processing}
|
||||||
disabled={!isModified || disabled}
|
disabled={!isModified || disabled}
|
||||||
icon={<FiSave size='1.5rem' />}
|
icon={<FiSave size='1.5rem' />}
|
||||||
|
|
|
@ -63,7 +63,7 @@ function RSFormToolbar({
|
||||||
/>
|
/>
|
||||||
<MiniButton
|
<MiniButton
|
||||||
title={claimable ? 'Стать владельцем' : 'Невозможно стать владельцем' }
|
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}
|
disabled={!claimable || anonymous || processing}
|
||||||
onClick={onClaim}
|
onClick={onClaim}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -91,7 +91,7 @@ function RSTabsMenu({
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleCreateNew() {
|
function handleCreateNew() {
|
||||||
router.push('/rsform-create');
|
router.push('/library/create');
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user