mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
adjust rules for user selection (#723)
This commit is contained in:
@@ -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 New Issue
Block a user