Skip to content

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

fix selection color on image selection

ammarahm-ed3761e48065cc
diff --git a/apps/mobile/html/Web.bundle/site/constants.js b/apps/mobile/html/Web.bundle/site/constants.js
index 03b6d1f52..1aeabb524 100755
--- a/apps/mobile/html/Web.bundle/site/constants.js
+++ b/apps/mobile/html/Web.bundle/site/constants.js
@@ -318,7 +318,22 @@ function setTheme() {
color: white !important;
background: ${pageTheme.colors.accent} !important;
}
-
+
+
+img::selection,
+video::selection,
+iframe::selection,
+.mce-preview-object::selection {
+ color: white !important;
+ background: transparent !important;
+} {
+ color: white !important;
+ background: transparent !important;
+} {
+ color: white !important;
+ background: transparent !important;
+}
+
.mce-content-body a[data-mce-selected] {
box-shadow: none !important;
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.js
index e787b1b8e..77ffe4332 100755
--- a/apps/mobile/html/Web.bundle/site/init.js
+++ b/apps/mobile/html/Web.bundle/site/init.js
@@ -321,8 +321,10 @@ video {
max-width:100% !important;
height:auto !important;
border-radius:5px !important;
- margin-bottom:10px
+ margin-bottom:10px;
}
+
+
.tox .tox-edit-area__iframe {
background-color:transparent !important;
}