Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix lists in editor

ammarahm-ed9113d2eb73f3
diff --git a/apps/mobile/android/app/src/main/assets/constants.js b/apps/mobile/android/app/src/main/assets/constants.js
index b539c48e8..586af5762 100644
--- a/apps/mobile/android/app/src/main/assets/constants.js
+++ b/apps/mobile/android/app/src/main/assets/constants.js
@@ -323,13 +323,12 @@ const setTheme = function () {
color: ${pageTheme.colors.accent} !important;
}
-
-
-
.ql-editor ul[data-checked='false'] > li::before {
- font-size: 25px;
-
- }
+ font-size:${pageTheme.colors.factor * 20};
+ }
+ .ql-editor ul[data-checked='true'] > li::before {
+ font-size:${pageTheme.colors.factor * 20};
+ }
#simpleTitleInput::-webkit-input-placeholder {
color:${pageTheme.colors.icon}
diff --git a/apps/mobile/android/app/src/main/assets/styles.css b/apps/mobile/android/app/src/main/assets/styles.css
index 6684d9da5..115c315d7 100644
--- a/apps/mobile/android/app/src/main/assets/styles.css
+++ b/apps/mobile/android/app/src/main/assets/styles.css
@@ -92,14 +92,10 @@
.ql-editor ul[data-checked='true'] > li::before {
content: '\2611';
- font-size: 25px;
- margin-right: 0px;
-
}
.ql-editor ul[data-checked='false'] > li::before {
content: '\2610';
- font-size: 25px;
}
.ql-editor li::before {
@@ -109,7 +105,6 @@
}
.ql-editor li:not(.ql-direction-rtl)::before {
- margin-left: -1.5em;
margin-right: 0.3em;
text-align: right;
}
diff --git a/apps/mobile/android/app/src/main/assets/texteditor.html b/apps/mobile/android/app/src/main/assets/texteditor.html
index 5fe532329..0c7cfc1a6 100644
--- a/apps/mobile/android/app/src/main/assets/texteditor.html
+++ b/apps/mobile/android/app/src/main/assets/texteditor.html
@@ -537,6 +537,7 @@
}
}
+ loadAction(true);
</script>
diff --git a/apps/mobile/html/Web.bundle/site/constants.js b/apps/mobile/html/Web.bundle/site/constants.js
index 342016d99..3af318cb4 100644
--- a/apps/mobile/html/Web.bundle/site/constants.js
+++ b/apps/mobile/html/Web.bundle/site/constants.js
@@ -328,9 +328,12 @@ const setTheme = function () {
.ql-editor ul[data-checked='false'] > li::before {
- font-size: 25px;
-
+ font-size:${pageTheme.colors.factor * 20};
}
+ .ql-editor ul[data-checked='true'] > li::before {
+ font-size:${pageTheme.colors.factor * 20};
+ }
+
#simpleTitleInput::-webkit-input-placeholder {
color:${pageTheme.colors.icon}
}
diff --git a/apps/mobile/html/Web.bundle/site/styles.css b/apps/mobile/html/Web.bundle/site/styles.css
index f9bc4ab67..e763439b4 100644
--- a/apps/mobile/html/Web.bundle/site/styles.css
+++ b/apps/mobile/html/Web.bundle/site/styles.css
@@ -89,16 +89,12 @@
text-decoration: line-through;
}
- .ql-editor ul[data-checked='true'] > li::before {
+.ql-editor ul[data-checked='true'] > li::before {
content: '\2611';
- font-size: 25px;
- margin-right: 0px;
-
}
.ql-editor ul[data-checked='false'] > li::before {
content: '\2610';
- font-size: 25px;
}
.ql-editor li::before {
@@ -108,7 +104,6 @@
}
.ql-editor li:not(.ql-direction-rtl)::before {
- margin-left: -1.5em;
margin-right: 0.3em;
text-align: right;
}