From 3fbbeae867996dbf24ae73e3b51d801c95cdffc1 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:40:27 -0500 Subject: [PATCH] move message container margin to css --- res/css/main.css | 4 ++++ src/components/chatmessage.cpp | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/res/css/main.css b/res/css/main.css index 65d6eeb..7292101 100644 --- a/res/css/main.css +++ b/res/css/main.css @@ -39,6 +39,10 @@ color: #FAA61A; } +.message-container { + margin-bottom: 8px; +} + .message-input textview, .message-input textview text { background-color: inherit; } diff --git a/src/components/chatmessage.cpp b/src/components/chatmessage.cpp index 8f2f519..8940164 100644 --- a/src/components/chatmessage.cpp +++ b/src/components/chatmessage.cpp @@ -1041,7 +1041,6 @@ ChatMessageHeader::ChatMessageHeader(const Message &data) m_main_box.add(m_content_box_ev); add(m_main_box); - set_margin_bottom(8); set_focus_on_click(false); show_all();