From 2da9c8ac6b9eab36ff948c4c6cc851d9321c73dc Mon Sep 17 00:00:00 2001 From: anareaty Date: Sat, 8 Feb 2025 15:50:47 +0400 Subject: [PATCH] Fixed checkboxex alignment --- manifest.json | 2 +- styles.css | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 2b0a4ab..5cdc1dd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "html-checkboxes", "name": "HTML checkboxes", - "version": "1.0.2", + "version": "1.0.3", "minAppVersion": "0.15.0", "description": "Allows to quickly add HTML checkboxes to your notes and makes them clickable.", "author": "Anareaty", diff --git a/styles.css b/styles.css index 251e190..a19b716 100644 --- a/styles.css +++ b/styles.css @@ -2,3 +2,14 @@ body:has(.checkbox-menu) .menu:has([data-section='table']) { display: none; } + +.cm-html-embed > input[type="checkbox"] { + top: -0.1em; + vertical-align: middle; +} + +.markdown-preview-sizer input[type="checkbox"][id], +.table-cell-wrapper input[type="checkbox"][id] { + position: relative; + top: 0.2em; +} \ No newline at end of file