Skip to content

Commit

Permalink
chore: sticky toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed May 9, 2023
1 parent 923c5db commit ea3fd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/ToolbarPlugin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const ToolbarPlugin = () => {

return (
<RadixToolbar.Root
className="mb-6 flex flex-row gap-2 rounded-md border-2 border-solid border-surface-50 p-2 items-center"
className="z-50 mb-6 flex flex-row gap-2 rounded-md border-2 border-solid border-surface-50 p-2 items-center overflow-x-auto sticky top-0 bg-white w-[inherit]"
aria-label="Formatting options"
>
{activeEditorType.type === 'lexical' ? (
Expand Down

0 comments on commit ea3fd1d

Please sign in to comment.