Skip to content

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

fix embeds overflow from viewport

ammarahm-ed66c4427f51e1
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.js
index 96f665102..cfa29c6cb 100755
--- a/apps/mobile/html/Web.bundle/site/init.js
+++ b/apps/mobile/html/Web.bundle/site/init.js
@@ -316,10 +316,12 @@ span.diff-ins {
pre.codeblock {
overflow-x:auto;
}
-img {
+img,
+video {
max-width:100% !important;
height:auto !important;
border-radius:5px !important;
+ margin-bottom:10px
}
.tox .tox-edit-area__iframe {
background-color:transparent !important;
@@ -333,9 +335,12 @@ body {
background-color:transparent !important;
font-size:${DEFAULT_FONT_SIZE}
}
+.mce-preview-object,
iframe {
max-width:100% !important;
background-color:transparent !important;
+ height:auto !important;
+ border-radius:5px !important;
}
h1,