diff --git a/webapp/packages/core-app/public/icons/icons.svg b/webapp/packages/core-app/public/icons/icons.svg index e476f32474..381be3274f 100644 --- a/webapp/packages/core-app/public/icons/icons.svg +++ b/webapp/packages/core-app/public/icons/icons.svg @@ -221,12 +221,12 @@ - - + + + - + - diff --git a/webapp/packages/core-utils/src/isImageFormat.ts b/webapp/packages/core-utils/src/isImageFormat.ts index 2a5e50dccd..eece910216 100644 --- a/webapp/packages/core-utils/src/isImageFormat.ts +++ b/webapp/packages/core-utils/src/isImageFormat.ts @@ -7,5 +7,5 @@ */ export function isImageFormat(value: string): boolean { - return value.match(/\.(jpeg|jpg|gif|png)$/) != null; + return value.match(/\.(jpeg|jpg|gif|png|svg|bmp|ico)$/) != null; } diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/Formatters/CellFormatters/TextFormatter.tsx b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/Formatters/CellFormatters/TextFormatter.tsx index 1ec5e645db..82349d7280 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/Formatters/CellFormatters/TextFormatter.tsx +++ b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/Formatters/CellFormatters/TextFormatter.tsx @@ -69,7 +69,7 @@ export const TextFormatter: React.FC = observer(function TextFor )} - {value} + {value} ); }); diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/styles/base.scss b/webapp/packages/plugin-data-spreadsheet-new/src/styles/base.scss index 4723acd560..0c6a5e00c1 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/styles/base.scss +++ b/webapp/packages/plugin-data-spreadsheet-new/src/styles/base.scss @@ -35,14 +35,22 @@ } .text-formatter { + display: flex; + align-items: center; + & a { + display: flex; + margin-right: 4px; + } + & svg { + width: 12px; + height: 12px; + } + } + + .text-formatter_value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; - & svg { - width: 8px; - height: 8px; - margin-right: 4px; - } } .rdg-cell-editing {