diff --git a/src/FormulaFormatter/index.css b/src/FormulaFormatter/index.css index 54067470..a0704a4d 100644 --- a/src/FormulaFormatter/index.css +++ b/src/FormulaFormatter/index.css @@ -45,3 +45,10 @@ .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; +} + diff --git a/src/RowExpandFormatter/index.css b/src/RowExpandFormatter/index.css index 4d4b23c4..f3804413 100644 --- a/src/RowExpandFormatter/index.css +++ b/src/RowExpandFormatter/index.css @@ -15,7 +15,13 @@ 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.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 {