File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/frontend/apps/impress/src/features/docs/doc-tree/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
121121 background-color : var (--c--globals--colors--gray-000 );
122122 .light-doc-item-actions {
123123 display : ${ menuOpen || ! isDesktop ? 'flex' : 'none' } ;
124- position : absolute;
125124 right : var (--c--globals--spacings--0 );
126125 }
127126 .c__tree-view--node .isFocused {
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ export const DocTree = ({ currentDoc }: DocTreeProps) => {
234234 }
235235
236236 .doc-tree-root-item-actions {
237- display : flex;
237+ display : ${ rootActionsOpen ? ' flex' : 'none' } ;
238238 opacity : ${ rootActionsOpen ? '1' : '0' } ;
239239
240240 & : has (.isOpen ) {
@@ -244,6 +244,7 @@ export const DocTree = ({ currentDoc }: DocTreeProps) => {
244244 & : hover ,
245245 & : focus-visible {
246246 .doc-tree-root-item-actions {
247+ display : flex;
247248 opacity : 1 ;
248249 }
249250 }
You can’t perform that action at this time.
0 commit comments