From e38f6f8dc0a6fa7a92f183760a7649540613098e Mon Sep 17 00:00:00 2001 From: GongFlying <150640661+gzcqqqqqqqq1@users.noreply.github.com> Date: Sat, 9 May 2026 23:30:24 +0800 Subject: [PATCH 1/3] formula column support /n --- src/RowExpandFormatter/index.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/RowExpandFormatter/index.css b/src/RowExpandFormatter/index.css index 4d4b23c4..e6a568e9 100644 --- a/src/RowExpandFormatter/index.css +++ b/src/RowExpandFormatter/index.css @@ -15,7 +15,6 @@ margin: 5px 10px 5px 0; } -.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.formula-formatter, .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.text-formatter, .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.url-formatter, .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.email-formatter { @@ -28,6 +27,16 @@ text-decoration: none; } +.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.formula-formatter { + white-space: pre-wrap; + word-wrap: break-word; + line-height: 1.6; + width: 100%; + text-decoration: none; + overflow: hidden; + text-overflow: ellipsis; +} + .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.multiple-select-formatter .dtable-ui.select-item { margin: 5px 0; } From 3e4fae3c9fdb33e39291b5bdccd5e4dfc107d566 Mon Sep 17 00:00:00 2001 From: GongFlying <150640661+gzcqqqqqqqq1@users.noreply.github.com> Date: Mon, 11 May 2026 12:44:37 +0800 Subject: [PATCH 2/3] rm styles --- src/FormulaFormatter/index.css | 11 +++++++++++ src/RowExpandFormatter/index.css | 10 ---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/FormulaFormatter/index.css b/src/FormulaFormatter/index.css index 54067470..6b16d5a6 100644 --- a/src/FormulaFormatter/index.css +++ b/src/FormulaFormatter/index.css @@ -45,3 +45,14 @@ .dtable-ui.formula-formatter.multiple .formula-formatter-content-item .collaborator { margin-right: 0; } + +.dtable-ui.formula-formatter { + white-space: pre-wrap; + word-wrap: break-word; + line-height: 1.5 !important; + width: 100%; + text-decoration: none; + overflow: hidden; + text-overflow: ellipsis; +} + diff --git a/src/RowExpandFormatter/index.css b/src/RowExpandFormatter/index.css index e6a568e9..b982fb1b 100644 --- a/src/RowExpandFormatter/index.css +++ b/src/RowExpandFormatter/index.css @@ -27,16 +27,6 @@ text-decoration: none; } -.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.formula-formatter { - white-space: pre-wrap; - word-wrap: break-word; - line-height: 1.6; - width: 100%; - text-decoration: none; - overflow: hidden; - text-overflow: ellipsis; -} - .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.multiple-select-formatter .dtable-ui.select-item { margin: 5px 0; } From f061a3e0280571a28628ce3672f75dd57d8bc652 Mon Sep 17 00:00:00 2001 From: GongFlying <150640661+gzcqqqqqqqq1@users.noreply.github.com> Date: Mon, 11 May 2026 14:00:52 +0800 Subject: [PATCH 3/3] fix common style --- src/FormulaFormatter/index.css | 4 ---- src/RowExpandFormatter/index.css | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/FormulaFormatter/index.css b/src/FormulaFormatter/index.css index 6b16d5a6..a0704a4d 100644 --- a/src/FormulaFormatter/index.css +++ b/src/FormulaFormatter/index.css @@ -50,9 +50,5 @@ white-space: pre-wrap; word-wrap: break-word; line-height: 1.5 !important; - width: 100%; - text-decoration: none; - overflow: hidden; - text-overflow: ellipsis; } diff --git a/src/RowExpandFormatter/index.css b/src/RowExpandFormatter/index.css index b982fb1b..f3804413 100644 --- a/src/RowExpandFormatter/index.css +++ b/src/RowExpandFormatter/index.css @@ -15,6 +15,13 @@ margin: 5px 10px 5px 0; } +.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.formula-formatter { + overflow: hidden; + text-overflow: ellipsis; + width: 100%; + text-decoration: none; +} + .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.text-formatter, .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.url-formatter, .dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.email-formatter {