more mobile fixes

This commit is contained in:
Michael Freno
2025-12-21 09:36:43 -05:00
parent 14ea299ca3
commit dba340e8bc
3 changed files with 12 additions and 8 deletions

View File

@@ -648,7 +648,7 @@ export default function TextEditor(props: TextEditorProps) {
};
return (
<div class="border-surface2 text-text w-full rounded-md border px-4 py-2">
<div class="border-surface2 text-text w-full max-w-full overflow-hidden rounded-md border px-4 py-2">
<Show when={editor()}>
{(instance) => (
<>
@@ -1264,7 +1264,7 @@ export default function TextEditor(props: TextEditorProps) {
<div
ref={editorRef}
class="prose prose-sm prose-invert sm:prose-base md:prose-xl lg:prose-xl xl:prose-2xl mx-auto h-[80dvh] min-w-full overflow-scroll focus:outline-none"
class="prose prose-sm prose-invert sm:prose-base md:prose-xl lg:prose-xl xl:prose-2xl mx-auto h-[80dvh] max-w-full overflow-scroll focus:outline-none"
/>
</div>
);