Skip to content

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

fix heading not centered

ammarahm-edc64ddb4e0cc4
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.js
index 26687f029..411b6e03b 100755
--- a/apps/mobile/html/Web.bundle/site/init.js
+++ b/apps/mobile/html/Web.bundle/site/init.js
@@ -202,6 +202,8 @@ h5,
h6,
strong {
font-weight:600 !important;
+ position:relative;
+ padding-left:10px;
}
h1::before,
@@ -218,34 +220,34 @@ h6::before {
height: 24px;
display: inline-block;
border: none;
+ position:absolute;
+ margin-left: -25px;
}
h1::before {
- margin-bottom: -2px;
+ top:2px;
}
h2::before {
- margin-bottom: -5px;
+ top:5px;
}
h3::before {
- margin-bottom: -6px;
+ top:2px;
}
h4::before {
- margin-bottom: -7px;
+ top:0px;
}
h5::before {
- margin-bottom: -6px;
+ top:0px;
width: 20px;
height: 20px;
}
h6::before {
- margin-bottom: -5px;
+ top:-1px;
width: 18px;
height: 18px;
}
-
-
.h {
display: none !important;
}