From 76b1f128e86ebb24ddbcca1c1f58a38b9de2bb01 Mon Sep 17 00:00:00 2001 From: Kiran Dash Date: Tue, 27 May 2025 16:17:49 +0800 Subject: [PATCH] [lexical-playground] Bug Fix: Preserve row striping in frozen table columns (#7572) --- .../lexical-playground/src/themes/PlaygroundEditorTheme.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/lexical-playground/src/themes/PlaygroundEditorTheme.css b/packages/lexical-playground/src/themes/PlaygroundEditorTheme.css index 811eac68e25..0601be79ad4 100644 --- a/packages/lexical-playground/src/themes/PlaygroundEditorTheme.css +++ b/packages/lexical-playground/src/themes/PlaygroundEditorTheme.css @@ -270,7 +270,11 @@ height: 100%; border-right: 1px solid #bbb; } -.PlaygroundEditorTheme__tableRowStriping tr:nth-child(even) { +.PlaygroundEditorTheme__tableRowStriping tr:nth-child(even), +.PlaygroundEditorTheme__tableFrozenColumn + .PlaygroundEditorTheme__table.PlaygroundEditorTheme__tableRowStriping + tr:nth-child(even) + > td:first-child { background-color: #f2f5fb; } .PlaygroundEditorTheme__tableSelection *::selection {