diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/EditorConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/EditorConstituenta.tsx index a1d17b25..b481b480 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/EditorConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/EditorConstituenta.tsx @@ -15,7 +15,7 @@ import FormConstituenta from './FormConstituenta'; import ToolbarConstituenta from './ToolbarConstituenta'; // Threshold window width to switch layout. -const SIDELIST_LAYOUT_THRESHOLD = 1050; // px +const SIDELIST_LAYOUT_THRESHOLD = 1000; // px interface EditorConstituentaProps { activeCst?: IConstituenta; diff --git a/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ViewConstituents.tsx b/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ViewConstituents.tsx index 4eea8e59..e16eda0c 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ViewConstituents.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/ViewConstituents/ViewConstituents.tsx @@ -46,7 +46,7 @@ function ViewConstituents({ expression, schema, activeCst, isBottom, onOpenEdit, transitionDuration: `${2 * PARAMETER.moveDuration}ms`, transitionTimingFunction: 'ease-in-out', opacity: isMounted ? 1 : 0, - width: isMounted ? '100%' : '0' + width: isMounted ? 'fit-content' : '0' }} >