File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
src/frontend/apps/impress/src/features/docs/doc-tree/components Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,9 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
138138 background : var (--c--theme--colors--greyscale-100 );
139139 }
140140 }
141+ .row .preview & {
142+ background-color : inherit;
143+ }
141144 ` }
142145 >
143146 < TreeViewItem { ...props } onClick = { handleActivate } >
@@ -183,23 +186,22 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
183186 ) }
184187 </ Box >
185188 </ BoxButton >
189+ < Box
190+ $direction = "row"
191+ $align = "center"
192+ className = "light-doc-item-actions"
193+ role = "toolbar"
194+ aria-label = { `${ t ( 'Actions for' ) } ${ docTitle } ` }
195+ >
196+ < DocTreeItemActions
197+ doc = { doc }
198+ isOpen = { menuOpen }
199+ onOpenChange = { setMenuOpen }
200+ parentId = { node . data . parentKey }
201+ onCreateSuccess = { afterCreate }
202+ />
203+ </ Box >
186204 </ TreeViewItem >
187-
188- < Box
189- $direction = "row"
190- $align = "center"
191- className = "light-doc-item-actions"
192- role = "toolbar"
193- aria-label = { `${ t ( 'Actions for' ) } ${ docTitle } ` }
194- >
195- < DocTreeItemActions
196- doc = { doc }
197- isOpen = { menuOpen }
198- onOpenChange = { setMenuOpen }
199- parentId = { node . data . parentKey }
200- onCreateSuccess = { afterCreate }
201- />
202- </ Box >
203205 </ Box >
204206 ) ;
205207} ;
You can’t perform that action at this time.
0 commit comments