From 4e1e7dd731222c8ff95895a7754ac738c9becc85 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Tue, 27 Sep 2022 12:26:22 +0200
Subject: [PATCH] fix summernote

---
 Gemfile.lock                                    | 2 +-
 app/assets/stylesheets/commons/_summernote.sass | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Gemfile.lock b/Gemfile.lock
index e229e40a5..ac4612cdc 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -544,4 +544,4 @@ RUBY VERSION
    ruby 2.7.6p219
 
 BUNDLED WITH
-   2.3.22
+   2.3.12
diff --git a/app/assets/stylesheets/commons/_summernote.sass b/app/assets/stylesheets/commons/_summernote.sass
index 4f074176c..72e2f8b85 100644
--- a/app/assets/stylesheets/commons/_summernote.sass
+++ b/app/assets/stylesheets/commons/_summernote.sass
@@ -9,6 +9,8 @@
         img, video
             height: auto
             max-width: 100%
+        p:last-of-type
+            margin-bottom: 0
     button
         background: transparent
         border: none
@@ -41,9 +43,12 @@
     .note-popover .popover-content,
     .note-editor .note-toolbar
         padding: 0
+        background: white
+        border-bottom: 1px solid rgba(0, 0, 0, 0.05)
+        border-radius: 3px
     .note-popover .popover-content > .note-btn-group,
     .note-editor .note-toolbar > .note-btn-group
         margin-right: 0
         margin-top: 0
     .note-link-popover
-        display: none !important
\ No newline at end of file
+        display: none !important
-- 
GitLab