adjust rules for user selection (#723)
This commit is contained in:
parent
7299bcefb2
commit
903d1479a4
2 changed files with 1 additions and 1 deletions
|
@ -107,6 +107,7 @@ export const DraggableItems = <K extends string, T extends SortableItem<K>>({
|
||||||
{open && (
|
{open && (
|
||||||
<Reorder.Group
|
<Reorder.Group
|
||||||
axis="y"
|
axis="y"
|
||||||
|
style={{ userSelect: 'none' }}
|
||||||
values={localItems}
|
values={localItems}
|
||||||
onReorder={setLocalItems}
|
onReorder={setLocalItems}
|
||||||
>
|
>
|
||||||
|
|
|
@ -22,7 +22,6 @@ html {
|
||||||
background: var(--content-bg);
|
background: var(--content-bg);
|
||||||
font-family: var(--content-font-family);
|
font-family: var(--content-font-family);
|
||||||
font-size: var(--root-font-size);
|
font-size: var(--root-font-size);
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 639px) {
|
@media only screen and (max-width: 639px) {
|
||||||
|
|
Reference in a new issue