Skip to content

Commit f115430

Browse files
committed
💄(frontend) fix background action on panel pages
Background actions were transparent, making them hard to see.
1 parent b1fb400 commit f115430

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTree.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)