From b78add535a963bb4bbc4ce84a06692f10dca8d68 Mon Sep 17 00:00:00 2001 From: Alberto Dainotti Date: Wed, 11 Mar 2026 12:17:55 -0400 Subject: [PATCH] fix: prevent page icons from being squashed in table cells Add flex-shrink: 0 to .notion-page-icon-inline inside table cells to prevent long title text from compressing the icon. --- packages/react-notion-x/src/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-notion-x/src/styles.css b/packages/react-notion-x/src/styles.css index b6115aed..e5333374 100644 --- a/packages/react-notion-x/src/styles.css +++ b/packages/react-notion-x/src/styles.css @@ -1687,6 +1687,10 @@ svg.notion-page-icon { border-right: 0 none; } +.notion-table-cell .notion-page-icon-inline { + flex-shrink: 0; +} + .notion-table-cell-title { font-weight: 500; }