Minor UI fixes

This commit is contained in:
IRBorisov 2023-10-18 19:16:47 +03:00
parent 012b2cc39f
commit 94e0210a00
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ import MiniButton from '../components/Common/MiniButton';
import SubmitButton from '../components/Common/SubmitButton';
import TextArea from '../components/Common/TextArea';
import TextInput from '../components/Common/TextInput';
import { UploadIcon } from '../components/Icons';
import { DownloadIcon } from '../components/Icons';
import RequireAuth from '../components/RequireAuth';
import { useLibrary } from '../context/LibraryContext';
import { useConceptNavigation } from '../context/NagivationContext';
@ -94,7 +94,7 @@ function CreateRSFormPage() {
/>
<MiniButton
tooltip='Загрузить из Экстеор'
icon={<UploadIcon size={5} color='text-primary'/>}
icon={<DownloadIcon size={5} color='text-primary'/>}
onClick={() => inputRef.current?.click()}
/>
</div>

View File

@ -65,8 +65,7 @@ function DlgShowAST({ hideWindow, syntaxTree, expression }: DlgShowASTProps) {
<span>{expression.slice(0, hoverNode.start)}</span>
<span className='clr-selected'>{expression.slice(hoverNode.start, hoverNode.finish)}</span>
<span>{expression.slice(hoverNode.finish)}</span>
</div>
}
</div>}
</div>
<div className='flex-wrap w-full h-full overflow-auto'>
<div className='relative' style={{width: 'calc(100vw - 6rem - 2px)', height: 'calc(100vh - 14rem - 2px)'}}>