diff --git a/services/web/frontend/stylesheets/app/editor/file-tree.less b/services/web/frontend/stylesheets/app/editor/file-tree.less index cea955c581..d8ab37fd30 100644 --- a/services/web/frontend/stylesheets/app/editor/file-tree.less +++ b/services/web/frontend/stylesheets/app/editor/file-tree.less @@ -2,8 +2,8 @@ &::before { content: '\00a0'; position: absolute; - width: 100%; - right: 100%; + width: 9999px; + left: -9999px; background-color: @bg-color; } } @@ -129,6 +129,7 @@ outline: none; } background-color: transparent; + .fake-full-width-bg(transparent); &:hover { background-color: @file-tree-item-hover-bg; diff --git a/services/web/frontend/stylesheets/app/editor/history-react.less b/services/web/frontend/stylesheets/app/editor/history-react.less index cb0d5e01bd..5ac68aa0ed 100644 --- a/services/web/frontend/stylesheets/app/editor/history-react.less +++ b/services/web/frontend/stylesheets/app/editor/history-react.less @@ -468,6 +468,7 @@ history-root { outline: none; } + .fake-full-width-bg(transparent); &:hover { background-color: @file-tree-item-hover-bg;