diff --git a/apps/web/src/app.css b/apps/web/src/app.css
index 66cbb3400..0659a2769 100644
--- a/apps/web/src/app.css
+++ b/apps/web/src/app.css
@@ -1,4 +1,4 @@
-.unselectable {
+* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
@@ -8,6 +8,6 @@
cursor: default;
}
-.unselectable::-moz-focus-inner {
+*::-moz-focus-inner {
border: 0;
}
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index 0525a5275..c981450b5 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -15,7 +15,6 @@ const NavMenuItem = props => {
}, [props.item.key, props.selected]);
return (
(
onClick={props.onClick}
>
{props.Icon && }
-
+
{props.content}
diff --git a/apps/web/src/components/checkbox/index.js b/apps/web/src/components/checkbox/index.js
index 7de082e69..021d64299 100644
--- a/apps/web/src/components/checkbox/index.js
+++ b/apps/web/src/components/checkbox/index.js
@@ -12,27 +12,17 @@ const CheckBox = props => {
props.onCheckChanged(checked);
}
}}
- className="unselectable"
width="full"
alignItems="center"
justifyContent="space-between"
sx={{ cursor: "pointer", marginBottom: 2 }}
>
-
+
{props.label}
-
+
);
diff --git a/apps/web/src/components/menu/index.js b/apps/web/src/components/menu/index.js
index cc3f82d8c..88c0e0907 100644
--- a/apps/web/src/components/menu/index.js
+++ b/apps/web/src/components/menu/index.js
@@ -38,13 +38,7 @@ function Menu(props) {
}
}}
>
-
+
{item.title}
diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js
index 3f7d4e50a..b32c76a9b 100644
--- a/apps/web/src/components/notebook/index.js
+++ b/apps/web/src/components/notebook/index.js
@@ -64,7 +64,7 @@ const Notebook = ({ item, index, onClick, onTopicClick }) => {
color: "static"
}}
>
-
+
{topic.title}
diff --git a/apps/web/src/utils/css.js b/apps/web/src/utils/css.js
new file mode 100644
index 000000000..e3138fab8
--- /dev/null
+++ b/apps/web/src/utils/css.js
@@ -0,0 +1,8 @@
+export function addCss(rule) {
+ let css = document.createElement("style");
+ css.type = "text/css";
+ if (css.styleSheet) css.styleSheet.cssText = rule;
+ // Support for IE
+ else css.appendChild(document.createTextNode(rule)); // Support for the rest
+ document.getElementsByTagName("head")[0].appendChild(css);
+}
diff --git a/apps/web/src/views/Properties.js b/apps/web/src/views/Properties.js
index 2ee1e652b..5fcf2f6e4 100644
--- a/apps/web/src/views/Properties.js
+++ b/apps/web/src/views/Properties.js
@@ -21,22 +21,12 @@ function Properties() {
-
+
Tags:
-
+
Colors:
diff --git a/apps/web/src/views/Settings.js b/apps/web/src/views/Settings.js
index e9342f7f1..b94b4a177 100644
--- a/apps/web/src/views/Settings.js
+++ b/apps/web/src/views/Settings.js
@@ -10,12 +10,8 @@ function Settings() {
return (
-
-
+
+
-
+
Theme
@@ -59,7 +55,6 @@ function Settings() {
Dark Mode{" "}
{
setCheck(!check);
changeTheme();
@@ -70,15 +65,9 @@ function Settings() {
-
-
-
+
+
+
);