From 6d2eb7b187a5764b07e5bbf87b522d4141bed7e6 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 29 Apr 2019 21:52:28 +0200 Subject: [PATCH] fix paragraph button overflowing over text, closes #502 --- src/public/stylesheets/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index d05fe5f8f..966850cf1 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -674,9 +674,12 @@ button.icon-button { } .ck.ck-block-toolbar-button { - transform: translateX(10px); + transform: translateX(7px); color: var(--muted-text-color); background-color: var(--main-background-color); + /* Making this narrower because https://github.com/zadam/trilium/issues/502 (problem only in smaller font sizes) */ + min-width: 0; + padding: 0; } #note-detail-promoted-attributes {