From c6ec0279fca0f4fffa2f42cc258a01ef054ddf06 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 21 Nov 2017 19:05:59 +0000 Subject: [PATCH] Mobile: Made checkboxes smaller --- README.md | 2 +- ReactNativeClient/lib/MdToHtml.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f889538632..1279487801 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Linux | Get it on Google Play -iOS | Get it on the App Store +iOS | Get it on the App Store ## Terminal application diff --git a/ReactNativeClient/lib/MdToHtml.js b/ReactNativeClient/lib/MdToHtml.js index 5ea15ecab2..885b1d5be1 100644 --- a/ReactNativeClient/lib/MdToHtml.js +++ b/ReactNativeClient/lib/MdToHtml.js @@ -318,15 +318,15 @@ class MdToHtml { position: relative; top: .5em; text-decoration: none; - width: 1.9em; - height: 1.9em; + width: 1.65em; /* Need to cut a bit the right border otherwise the SVG will display a black line */ + height: 1.7em; margin-right: .3em; background-color: ` + style.htmlColor + `; /* Awesome Font square-o */ -webkit-mask: url("data:image/svg+xml;utf8,"); } a.checkbox.tick { - left: .124em; /* square-o and check-square-o aren't exactly aligned so add this extra gap to align them */ + left: .1245em; /* square-o and check-square-o aren't exactly aligned so add this extra gap to align them */ /* Awesome Font check-square-o */ -webkit-mask: url("data:image/svg+xml;utf8,"); }