striven-editor

Maintained and contributed to an open source WYSIWYG editor as an internship project that made it to production and was adopted by the company I was working at.
git clone https://unitehenry.com/git/striven-editor.git
Log | Files | Refs | README | LICENSE

commit 8e49d947e71bf510981459260ef5dd00c9d7dfea
parent 34b0d2390c6263104d807d19e62fa902a0147e6f
Author: Sanjog Sharma <sanjogsharma@gmail.com>
Date:   Tue,  6 Jul 2021 15:36:35 +0545

toolbar css update

Diffstat:
Msrc/striveneditor.css | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/striveneditor.css b/src/striveneditor.css @@ -98,7 +98,7 @@ display: flex; justify-content: space-between; flex-wrap: wrap; - min-height: 46px; + min-height: 40px; transition: height 200ms; } @@ -158,9 +158,10 @@ .striven-editor .se-toolbar-option { border: 1px solid transparent; display: inline-block; - padding: 7px; + padding: 4px 7px; cursor: pointer; user-select: none; + line-height: 2em; } .striven-editor .se-toolbar-option svg { @@ -194,7 +195,8 @@ .striven-editor .se-toolbar-group { z-index: 500; background-color: transparent; - display: inline-block; + display: flex; + align-items: stretch; } .striven-editor .se-toolbar-group[data-open='true'] { @@ -308,7 +310,7 @@ .striven-editor .se-toolbar-menu { border: 1px solid transparent; - padding: 7px; + padding: 4px 7px; cursor: pointer; align-items: center; }