Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/ComposerPromptEditorTiptap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ function ComposerPromptEditorTiptapInner(props: ComposerPromptEditorProps) {
const editorAttributes = useMemo(
() => ({
class: cn(
"composer-tiptap block max-h-50 min-h-17.5 w-full overflow-y-auto whitespace-pre-wrap wrap-break-word bg-transparent leading-relaxed text-foreground focus:outline-none",
"composer-tiptap -m-1 block max-h-52 min-h-19.5 overflow-y-auto p-1 whitespace-pre-wrap wrap-break-word bg-transparent leading-relaxed text-foreground focus:outline-none",
className,
),
"data-testid": "composer-editor",
Expand Down Expand Up @@ -1242,7 +1242,7 @@ function ComposerPromptEditorTiptapInner(props: ComposerPromptEditorProps) {
<ComposerCitationCommentContext value={citationCommentActions}>
<div
className={cn(
"relative [font-family:var(--font-composer,var(--font-sans))] [font-size:var(--font-size-prompt,0.875rem)] [@media(max-width:39.999rem)_and_(pointer:coarse)]:[font-size:max(var(--font-size-prompt,1rem),16px)]",
"relative flow-root [font-family:var(--font-composer,var(--font-sans))] [font-size:var(--font-size-prompt,0.875rem)] [@media(max-width:39.999rem)_and_(pointer:coarse)]:[font-size:max(var(--font-size-prompt,1rem),16px)]",
containerClassName,
)}
>
Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/chat/ChatComposer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6859,10 +6859,10 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
skills={selectedProviderSkills}
containerClassName={cn(isComposerResting && "min-w-0 flex-1")}
className={cn(
showMobilePendingAnswerActions && "max-sm:pb-11",
showMobilePendingAnswerActions && "max-sm:pb-12",
isComposerResting &&
"max-h-8 min-h-8 overflow-hidden whitespace-pre! leading-8",
isComposerApprovalState && "min-h-8",
"my-0 max-h-8 min-h-8 overflow-hidden py-0 whitespace-pre! leading-8",
isComposerApprovalState && "min-h-10",
)}
placeholderClassName={cn(
isComposerResting &&
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/settings/SettingsFontPreviews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function PromptFontPreview() {
skills={EMPTY_SKILLS}
disabled={false}
placeholder={DISCONNECTED_COMPOSER_PLACEHOLDER}
className="max-h-40 min-h-12"
className="max-h-42 min-h-14"
onChange={onChange}
onPaste={noop}
/>
Expand Down
Loading