diff --git a/services/web/frontend/js/features/file-tree/components/file-tree-root.js b/services/web/frontend/js/features/file-tree/components/file-tree-root.js index 51799399fc..9d18e95df1 100644 --- a/services/web/frontend/js/features/file-tree/components/file-tree-root.js +++ b/services/web/frontend/js/features/file-tree/components/file-tree-root.js @@ -77,9 +77,7 @@ function FileTreeRootFolder() { dropRef={dropRef} isOver={isOver} dataTestId="file-tree-list-root" - > -
- + /> > ) } diff --git a/services/web/frontend/js/features/history/components/history-file-tree.tsx b/services/web/frontend/js/features/history/components/history-file-tree.tsx index 39cf775936..0f8adca1ef 100644 --- a/services/web/frontend/js/features/history/components/history-file-tree.tsx +++ b/services/web/frontend/js/features/history/components/history-file-tree.tsx @@ -30,8 +30,6 @@ export default function HistoryFileTree() { folders={mappedFileTree.folders} docs={mappedFileTree.docs ?? []} rootClassName="history-file-tree-list" - > - - + /> ) } diff --git a/services/web/frontend/stylesheets/app/editor/file-tree.less b/services/web/frontend/stylesheets/app/editor/file-tree.less index d6d928634e..689f456bc5 100644 --- a/services/web/frontend/stylesheets/app/editor/file-tree.less +++ b/services/web/frontend/stylesheets/app/editor/file-tree.less @@ -96,7 +96,9 @@ margin-left: 22px; } - li.bottom-buffer { + &::after { + content: ''; + display: block; min-height: @line-height-computed; } diff --git a/services/web/frontend/stylesheets/app/editor/history-react.less b/services/web/frontend/stylesheets/app/editor/history-react.less index efeae508c5..12cac4d6a6 100644 --- a/services/web/frontend/stylesheets/app/editor/history-react.less +++ b/services/web/frontend/stylesheets/app/editor/history-react.less @@ -432,7 +432,9 @@ history-root { margin-left: 22px; } - li.bottom-buffer { + &::after { + content: ''; + display: block; min-height: @line-height-computed; }