diff --git a/services/web/frontend/stylesheets/app/editor/file-tree.less b/services/web/frontend/stylesheets/app/editor/file-tree.less index 43d3d6bab3..aff1910142 100644 --- a/services/web/frontend/stylesheets/app/editor/file-tree.less +++ b/services/web/frontend/stylesheets/app/editor/file-tree.less @@ -112,6 +112,7 @@ text-overflow: ellipsis; text-align: left; padding-right: 32px; + white-space: pre; } } diff --git a/services/web/frontend/stylesheets/app/editor/history-react.less b/services/web/frontend/stylesheets/app/editor/history-react.less index 4c828f7500..a20825525a 100644 --- a/services/web/frontend/stylesheets/app/editor/history-react.less +++ b/services/web/frontend/stylesheets/app/editor/history-react.less @@ -207,6 +207,7 @@ history-root { .history-version-change-doc { color: @neutral-90; overflow-wrap: anywhere; + white-space: pre-wrap; } .history-version-divider-container { @@ -502,6 +503,7 @@ history-root { text-align: left; font-weight: normal; flex-grow: 1; + white-space: pre; &.strikethrough { text-decoration: line-through;