Skip to content

Commit

Permalink
chore: overflow toolbar for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslam97 committed Aug 25, 2024
1 parent 0b498ad commit a2cfd54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/minimal-tiptap/minimal-tiptap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export interface MinimalTiptapProps extends Omit<UseMinimalTiptapEditorProps, 'o
}

const Toolbar = ({ editor }: { editor: Editor }) => (
<div className="border-b border-border p-2">
<div className="flex w-full flex-wrap items-center">
<div className="overflow-x-auto border-b border-border p-2">
<div className="flex w-max items-center">
<SectionOne editor={editor} activeLevels={[1, 2, 3, 4, 5, 6]} />

<Separator orientation="vertical" className="mx-2 h-7" />
Expand Down

0 comments on commit a2cfd54

Please sign in to comment.