mirror of
https://github.com/suitenumerique/docs.git
synced 2026-05-08 16:12:26 +02:00
🐛(frontend) fix uikit dnd tree
The last version of UIKit has a bug that causes the dnd tree to break. It is due to some pointers event that are not properly handled. We remove the pointer event in waiting for the fix to be released.
This commit is contained in:
@@ -274,11 +274,16 @@ export const DocTree = ({ currentDoc }: DocTreeProps) => {
|
||||
/* Remove outline from TreeViewItem wrapper elements */
|
||||
.c__tree-view--row {
|
||||
outline: none !important;
|
||||
pointer-events: initial;
|
||||
&:focus-visible {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.c__tree-view--node {
|
||||
pointer-events: inherit;
|
||||
}
|
||||
|
||||
.c__tree-view--container {
|
||||
z-index: 1;
|
||||
margin-top: -10px;
|
||||
|
||||
Reference in New Issue
Block a user