From b800039ef23e56243fd064c1756299ae5cabe92a Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Thu, 3 Mar 2022 09:41:03 +0100 Subject: [PATCH] h2 in editor --- app/assets/stylesheets/commons/_summernote.sass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/commons/_summernote.sass b/app/assets/stylesheets/commons/_summernote.sass index 1a2929bcc..29e9775dd 100644 --- a/app/assets/stylesheets/commons/_summernote.sass +++ b/app/assets/stylesheets/commons/_summernote.sass @@ -12,3 +12,7 @@ border-left: 2px solid lightgray font-size: 1.275rem padding-left: 1rem + h2 + margin-top: 2rem + .note-editable > h2:first-of-type + margin-top: 0 -- GitLab