Skip to content

Commit

Permalink
Added a separate CSS rule to target all direct descendants of table cell
Browse files Browse the repository at this point in the history
  • Loading branch information
Parasaran-Python committed Dec 14, 2024
1 parent e361db2 commit a8630c6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/lexical-playground/src/themes/PlaygroundEditorTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
.PlaygroundEditorTheme__paragraph {
margin: 0;
position: relative;

/*
A firefox workaround to allow scrolling of overflowing table cell
ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159
*/
overflow: inherit;
}
.PlaygroundEditorTheme__quote {
margin: 0;
Expand Down Expand Up @@ -221,6 +215,13 @@
outline: none;
overflow: auto;
}
/*
A firefox workaround to allow scrolling of overflowing table cell
ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159
*/
.PlaygroundEditorTheme__tableCell > * {
overflow: inherit;
}
.PlaygroundEditorTheme__tableCellResizer {
position: absolute;
right: -4px;
Expand Down

0 comments on commit a8630c6

Please sign in to comment.