mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Minor UI fixes
This commit is contained in:
parent
7415eed8cd
commit
f6c51a3c5f
|
@ -193,9 +193,8 @@ function EditorItems({ onOpenEdit, onCreateCst, onDeleteCst }: EditorItemsProps)
|
||||||
name: 'Тип',
|
name: 'Тип',
|
||||||
id: 'type',
|
id: 'type',
|
||||||
cell: (cst: IConstituenta) => <div style={{ fontSize: 12 }}>{getCstTypificationLabel(cst)}</div>,
|
cell: (cst: IConstituenta) => <div style={{ fontSize: 12 }}>{getCstTypificationLabel(cst)}</div>,
|
||||||
width: '140px',
|
width: '175px',
|
||||||
minWidth: '100px',
|
maxWidth: '175px',
|
||||||
maxWidth: '140px',
|
|
||||||
wrap: true,
|
wrap: true,
|
||||||
reorder: true,
|
reorder: true,
|
||||||
hide: 1600
|
hide: 1600
|
||||||
|
|
|
@ -15,7 +15,7 @@ import { GraphLayoutSelector,mapLayoutLabels } from '../../utils/staticUI';
|
||||||
function EditorTermGraph() {
|
function EditorTermGraph() {
|
||||||
const { schema } = useRSForm();
|
const { schema } = useRSForm();
|
||||||
const { darkMode, noNavigation } = useConceptTheme();
|
const { darkMode, noNavigation } = useConceptTheme();
|
||||||
const [ layout, setLayout ] = useLocalStorage<LayoutTypes>('graph_layout', 'forceatlas2');
|
const [ layout, setLayout ] = useLocalStorage<LayoutTypes>('graph_layout', 'treeTd2d');
|
||||||
|
|
||||||
const [ filtered, setFiltered ] = useState<Graph>(new Graph());
|
const [ filtered, setFiltered ] = useState<Graph>(new Graph());
|
||||||
const [ orbit, setOrbit ] = useState(false);
|
const [ orbit, setOrbit ] = useState(false);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user