diff --git a/.vscode/settings.json b/.vscode/settings.json index 6c125ef7..0e407911 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -79,6 +79,7 @@ "NPRO", "NUMR", "Opencorpora", + "overscroll", "passwordreset", "perfectivity", "PNCT", diff --git a/rsconcept/frontend/README.md b/rsconcept/frontend/README.md index 5ef803e0..681d51b4 100644 --- a/rsconcept/frontend/README.md +++ b/rsconcept/frontend/README.md @@ -12,7 +12,7 @@ Styling conventions - outer layout: fixed bottom-1/2 left-0 -translate-x-1/2 - rectangle: mt-3 min-w-fit min-w-10 flex-grow shrink-0 - inner layout: px-3 py-2 flex flex-col gap-3 justify-between items-center - - overflow behavior: overflow-scroll + - overflow behavior: overflow-scroll overscroll-contain - border: borer-2 outline-none shadow-md - colors: clr-controls - text: text-start text-sm font-semibold whitespace-nowrap diff --git a/rsconcept/frontend/src/app/ApplicationLayout.tsx b/rsconcept/frontend/src/app/ApplicationLayout.tsx index a6325a39..4d6eee2a 100644 --- a/rsconcept/frontend/src/app/ApplicationLayout.tsx +++ b/rsconcept/frontend/src/app/ApplicationLayout.tsx @@ -23,7 +23,7 @@ function ApplicationLayout() {
{header} : null}
{list.length}

) : null} -
+
{list.map(id => { const cst = schema.cstByID.get(id); return cst ?

{labelConstituenta(cst)}

: null; diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorRSExpression/ParsingResult.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorRSExpression/ParsingResult.tsx index af6cc1d7..0fcd5070 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorRSExpression/ParsingResult.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorRSExpression/ParsingResult.tsx @@ -18,7 +18,7 @@ function ParsingResult({ isOpen, data, disabled, onShowError }: ParsingResultPro return ( diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/ViewHidden.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/ViewHidden.tsx index 9985e720..812fed0f 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/ViewHidden.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/ViewHidden.tsx @@ -85,7 +85,7 @@ function ViewHidden({ items, selected, toggleSelection, setFocus, schema, colori 'border-x border-b rounded-b-md', 'clr-input', 'text-sm', - 'overflow-y-auto' + 'cc-scroll-y' )} style={{ maxHeight: calculateHeight(windowSize.isSmall ? '12.rem + 2px' : '16.4rem + 2px') }} initial={false} diff --git a/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ConstituentsTable.tsx b/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ConstituentsTable.tsx index f5cb96e0..d7fe6ef2 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ConstituentsTable.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ConstituentsTable.tsx @@ -129,7 +129,7 @@ function ConstituentsTable({ items, activeID, onOpenEdit, maxHeight, denseThresh