M: Minor syntax fixes
This commit is contained in:
parent
b60c1305bd
commit
f86d847d64
|
@ -151,7 +151,7 @@ const RSInput = forwardRef<ReactCodeMirrorRef, RSInputProps>(
|
|||
<div className={clsx('flex flex-col gap-2', className, cursor)} style={style}>
|
||||
<Label text={label} />
|
||||
<CodeMirror
|
||||
className={'font-math'}
|
||||
className='font-math'
|
||||
id={id}
|
||||
ref={thisRef}
|
||||
basicSetup={editorSetup}
|
||||
|
|
|
@ -46,7 +46,7 @@ function SelectorButton({
|
|||
{...restProps}
|
||||
>
|
||||
{icon ? icon : null}
|
||||
{text ? <div className={'whitespace-nowrap'}>{text}</div> : null}
|
||||
{text ? <div className='whitespace-nowrap'>{text}</div> : null}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ function DlgRenameCst({ hideWindow, initial, onRename }: DlgRenameCstProps) {
|
|||
<Modal
|
||||
header='Переименование конституенты'
|
||||
submitText='Переименовать'
|
||||
submitInvalidTooltip={'Введите незанятое имя, соответствующее типу'}
|
||||
submitInvalidTooltip='Введите незанятое имя, соответствующее типу'
|
||||
hideWindow={hideWindow}
|
||||
canSubmit={validated}
|
||||
onSubmit={() => onRename(cstData)}
|
||||
|
|
|
@ -30,7 +30,7 @@ function DlgSubstituteCst({ hideWindow, onSubstitute, schema }: DlgSubstituteCst
|
|||
<Modal
|
||||
header='Отождествление'
|
||||
submitText='Отождествить'
|
||||
submitInvalidTooltip={'Выберите две различные конституенты'}
|
||||
submitInvalidTooltip='Выберите две различные конституенты'
|
||||
hideWindow={hideWindow}
|
||||
canSubmit={canSubmit}
|
||||
onSubmit={handleSubmit}
|
||||
|
|
|
@ -117,7 +117,7 @@ function MenuOssTabs({ onDestroy }: MenuOssTabsProps) {
|
|||
noBorder
|
||||
noOutline
|
||||
tabIndex={-1}
|
||||
title={'Редактирование'}
|
||||
title='Редактирование'
|
||||
hideTitle={editMenu.isOpen}
|
||||
className='h-full px-2'
|
||||
icon={<IconEdit2 size='1.25rem' className={controller.isMutable ? 'icon-green' : 'icon-red'} />}
|
||||
|
|
|
@ -79,7 +79,7 @@ function ToolbarConstituenta({
|
|||
/>
|
||||
<MiniButton
|
||||
title='Создать конституенту после данной'
|
||||
icon={<IconNewItem size={'1.25rem'} className='icon-green' />}
|
||||
icon={<IconNewItem size='1.25rem' className='icon-green' />}
|
||||
disabled={!controller.isContentEditable || controller.isProcessing}
|
||||
onClick={() => controller.createCst(activeCst?.cst_type, false)}
|
||||
/>
|
||||
|
|
|
@ -207,7 +207,7 @@ function MenuRSTabs({ onDestroy }: MenuRSTabsProps) {
|
|||
noBorder
|
||||
noOutline
|
||||
tabIndex={-1}
|
||||
title={'Редактирование'}
|
||||
title='Редактирование'
|
||||
hideTitle={editMenu.isOpen}
|
||||
className='h-full px-2'
|
||||
icon={<IconEdit2 size='1.25rem' className={controller.isContentEditable ? 'icon-green' : 'icon-red'} />}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Global application Parameters. The place where magic numbers are put to rest.
|
||||
*/
|
||||
export const PARAMETER = {
|
||||
smallScreen: 640, // == tailwind:xs
|
||||
smallScreen: 640, // == tailwind:sm
|
||||
smallTreeNodes: 50, // amount of nodes threshold for size increase for large graphs
|
||||
refreshTimeout: 100, // milliseconds delay for post-refresh actions
|
||||
minimalTimeout: 10, // milliseconds delay for fast updates
|
||||
|
|
Loading…
Reference in New Issue
Block a user