Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
9a86078d by wurstsalat at 2025-08-16T13:48:26+02:00
cfix: Message row actions: Set button background correctly

This prevents white background from showing around the rounded button edges

- - - - -


2 changed files:

- gajim/data/style/gajim.css
- gajim/gtk/conversation/rows/widgets.py


Changes:

=====================================
gajim/data/style/gajim.css
=====================================
@@ -740,6 +740,12 @@ .conversation-nickname {
     font-weight: bold;
 }
 
+/* Message row actions */
+.row-actions-button-box {
+    background: var(--window-bg-color);
+    border-radius: 8px;
+}
+
 /* ReactionsBar */
 .reaction {
     border: 1px solid var(--border-color);


=====================================
gajim/gtk/conversation/rows/widgets.py
=====================================
@@ -50,7 +50,6 @@ def __init__(self) -> None:
             margin_end=40,
             visible=False,
         )
-        self.add_css_class("background")
 
         self._message_row: MessageRow | None = None
         self._contact: ChatContactT | None = None
@@ -91,6 +90,7 @@ def __init__(self) -> None:
 
         box = Gtk.Box()
         box.add_css_class("linked")
+        box.add_css_class("row-actions-button-box")
 
         for button in self._reaction_buttons:
             box.append(button)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9a86078df16ee20ed7d82628df84711ef61e4414

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9a86078df16ee20ed7d82628df84711ef61e4414
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to