diff --git a/CHANGELOG.md b/CHANGELOG.md index 74d1c92f..c26b4ff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to - 🌐(frontend) keep simple tag during export #1154 - 🐛(back) manage can-edit endpoint without created room in the ws +- 🐛(frontend) fix action buttons not clickable #1162 ## [3.4.0] - 2025-07-09 diff --git a/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx b/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx index 9fae9746..8c72e31b 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx @@ -18,7 +18,7 @@ import { import { useLeftPanelStore } from '@/features/left-panel'; import { useResponsiveStore } from '@/stores'; -import Logo from './../assets/sub-page-logo.svg'; +import SubPageIcon from './../assets/sub-page-logo.svg'; import { DocTreeItemActions } from './DocTreeItemActions'; const ItemTextCss = css` @@ -99,6 +99,7 @@ export const DocSubPageItem = (props: Props) => { return ( { .light-doc-item-actions { display: ${actionsOpen || !isDesktop ? 'flex' : 'none'}; + position: absolute; + right: 0; + background: ${isDesktop + ? 'var(--c--theme--colors--greyscale-100)' + : 'var(--c--theme--colors--greyscale-000)'}; + } + + .c__tree-view--node.isSelected { + .light-doc-item-actions { + background: var(--c--theme--colors--greyscale-100); + } } &:hover { @@ -114,6 +126,7 @@ export const DocSubPageItem = (props: Props) => { .light-doc-item-actions { display: flex; + background: var(--c--theme--colors--greyscale-100); } } `} @@ -136,7 +149,7 @@ export const DocSubPageItem = (props: Props) => { $minHeight="24px" > - + { .c__tree-view--container { z-index: 1; margin-top: -10px; + + .c__tree-view { + overflow: hidden !important; + } } `} >