mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 16:09:42 +01:00
fix: minor bugs in webkit based browsers
This commit is contained in:
@@ -70,12 +70,16 @@
|
||||
url("./assets/fonts/open-sans-v20-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
.selectable {
|
||||
-webkit-touch-callout: text;
|
||||
.selectable,
|
||||
input,
|
||||
textarea,
|
||||
[contenteditable="true"],
|
||||
[contenteditable="true"] > * {
|
||||
-webkit-touch-callout: initial;
|
||||
-webkit-user-select: text;
|
||||
-khtml-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
-ms-user-select: initial;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
|
||||
@@ -70,6 +70,8 @@ function ListItem(props) {
|
||||
bg={isSelected ? "shade" : background}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
let items = props.menu?.items?.slice() || [];
|
||||
let title = props.item.title;
|
||||
let selectedItems = selectionStore
|
||||
|
||||
Reference in New Issue
Block a user