Skip to content

Commit

Permalink
fix: textarea ux in Editor.tsx #16225 (#16231)
Browse files Browse the repository at this point in the history
* fix: textarea ux in Editor.tsx #16225

* fix: textarea ux in Editor.tsx #16225

* fix: textarea ux in Editor.tsx #16225

* fix: textarea ux in Editor.tsx #16225

* fix: textarea ux in Editor.tsx #16225

* fix and update

* remove space

---------

Co-authored-by: unknown <adhabal2002@gmail.com>
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
  • Loading branch information
4 people authored Aug 20, 2024
1 parent 8a7beff commit b004587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export default function CreateEventTypeDialog({
placeholder={t("quick_video_meeting")}
firstRender={firstRender}
setFirstRender={setFirstRender}
maxHeight="200px"
/>

<div className="relative">
Expand Down
5 changes: 3 additions & 2 deletions packages/ui/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export type TextEditorProps = {
excludedToolbarItems?: string[];
variables?: string[];
height?: string;
maxHeight?: string;
placeholder?: string;
disableLists?: boolean;
updateTemplate?: boolean;
Expand Down Expand Up @@ -84,8 +85,8 @@ export const Editor = (props: TextEditorProps) => {
setFirstRender={props.setFirstRender}
/>
<div
className={classNames("editor-inner scroll-bar", !editable && "!bg-subtle")}
style={{ height: props.height }}>
className={classNames("editor-inner scroll-bar overflow-x-hidden", !editable && "!bg-subtle")}
style={{ height: props.height, maxHeight: props.maxHeight }}>
<RichTextPlugin
contentEditable={
<ContentEditable
Expand Down

0 comments on commit b004587

Please sign in to comment.