Skip to content

Commit

Permalink
Move grow class to text-area-rich-text component
Browse files Browse the repository at this point in the history
  • Loading branch information
cgero-eth committed Jan 31, 2024
1 parent cf4c882 commit f7a14ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/input/inputContainer/inputContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const InputContainer = forwardRef<HTMLDivElement, IInputContainerProps>((

const processedVariant = isDisabled ? 'disabled' : variant;
const containerClasses = classNames(
'flex min-h-12 w-full grow flex-row items-center', // Layout
'flex min-h-12 w-full flex-row items-center', // Layout
'rounded-xl border text-neutral-600 transition-all', // Styling
'outline-1 focus-within:outline', // Outline on focus
'text-base font-normal leading-tight', // Typography
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const TextAreaRichText: React.FC<ITextAreaRichTextProps> = (props) => {
<InputContainer
isDisabled={isDisabled}
className={classNames(className, { 'fixed left-0 top-0 z-10 h-screen w-full': isExpanded })}
wrapperClassName={classNames('overflow-hidden', { 'rounded-none ': isExpanded })}
wrapperClassName={classNames('grow overflow-hidden', { 'rounded-none ': isExpanded })}
id={processedId}
{...containerProps}
>
Expand Down

0 comments on commit f7a14ac

Please sign in to comment.