diff --git a/rsconcept/frontend/src/components/ui/TextArea.tsx b/rsconcept/frontend/src/components/ui/TextArea.tsx index 47e8f03d..506a684b 100644 --- a/rsconcept/frontend/src/components/ui/TextArea.tsx +++ b/rsconcept/frontend/src/components/ui/TextArea.tsx @@ -6,6 +6,7 @@ import Label from './Label'; export interface TextAreaProps extends CProps.Editor, CProps.Colors, CProps.TextArea { dense?: boolean; noResize?: boolean; + fitContent?: boolean; } function TextArea({ @@ -18,6 +19,7 @@ function TextArea({ noOutline, noResize, className, + fitContent, colors = 'clr-input', ...restProps }: TextAreaProps) { @@ -40,6 +42,7 @@ function TextArea({ 'leading-tight', 'overflow-x-hidden overflow-y-auto', { + 'cc-fit-content': fitContent, 'resize-none': noResize, 'border': !noBorder, 'flex-grow max-w-full': dense, diff --git a/rsconcept/frontend/src/dialogs/DlgChangeLocation.tsx b/rsconcept/frontend/src/dialogs/DlgChangeLocation.tsx index cd71d0a6..627c7211 100644 --- a/rsconcept/frontend/src/dialogs/DlgChangeLocation.tsx +++ b/rsconcept/frontend/src/dialogs/DlgChangeLocation.tsx @@ -59,14 +59,7 @@ function DlgChangeLocation({ hideWindow, initial, onChangeLocation }: DlgChangeL onChange={handleSelectLocation} className='max-h-[9.2rem]' /> -