Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Nov 6, 2024
1 parent 0c1cf31 commit f5097be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/registry/default/plate-ui/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ EditorContainer.displayName = 'EditorContainer';
const editorVariants = cva(
cn(
'group/editor',
'relative w-full whitespace-pre-wrap break-words',
'relative w-full overflow-x-hidden whitespace-pre-wrap break-words',
'rounded-md ring-offset-background placeholder:text-muted-foreground/80 focus-visible:outline-none',
'[&_[data-slate-placeholder]]:text-muted-foreground/80 [&_[data-slate-placeholder]]:!opacity-100',
'[&_[data-slate-placeholder]]:top-[auto_!important]',
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/registry/default/plate-ui/table-element.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const TableElement = withHOC(

return (
<TableFloatingToolbar>
<div style={{ paddingLeft: marginLeft }}>
<div className="overflow-x-auto" style={{ paddingLeft: marginLeft }}>
<PlateElement
ref={ref}
as="table"
Expand Down

0 comments on commit f5097be

Please sign in to comment.