File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
src/frontend/apps/impress/src/features/docs/doc-tree/components Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,9 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
143143 display : flex;
144144 }
145145 }
146- /* Retirer le focus visuel du tree item quand le focus est sur les actions */
147- & : has (.light-doc-item-actions * : focus ) .c__tree-view--node .isFocused {
146+ /* Remove visual focus from the tree item when focus is on actions or emoji button */
147+ & : has (.light-doc-item-actions * : focus , .--docs--doc-icon : focus-visible )
148+ .c__tree-view--node .isFocused {
148149 box-shadow : none !important ;
149150 }
150151 & : hover {
@@ -176,6 +177,14 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
176177 $size = "sm"
177178 docId = { doc . id }
178179 title = { doc . title }
180+ buttonProps = { {
181+ $css : css `
182+ & : focus-visible {
183+ outline : 2px solid var (--c--globals--colors--brand-500 );
184+ outline-offset : 2px ;
185+ }
186+ ` ,
187+ } }
179188 />
180189 < Box
181190 $direction = "row"
You can’t perform that action at this time.
0 commit comments