diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2025-01-16 12:56:34 +0000 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2025-01-16 12:56:34 +0000 |
commit | 794e9692fc47b7c801183a12f1910d703cc9dfcb (patch) | |
tree | 232818653107f5d85d43fe78dd891e87fddbcca4 | |
parent | a34196f2fa184755e0dc336341b8ed92e5d0a398 (diff) |
-rw-r--r-- | src/chat.py | 1 | ||||
-rw-r--r-- | src/gtk/chat.ui | 1 | ||||
-rw-r--r-- | src/style.css | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/chat.py b/src/chat.py index 3ee0438..ef43e5a 100644 --- a/src/chat.py +++ b/src/chat.py @@ -125,7 +125,6 @@ class WeegtkChat(Adw.Bin): def setup_list_item(self, factory, list_item, *user_data): message = WeegtkMessage() list_item.set_child(message) - pass def bind_list_item(self, factory, list_item, *user_data): text = list_item.get_item().get_string() diff --git a/src/gtk/chat.ui b/src/gtk/chat.ui index fa4d77d..05d23f2 100644 --- a/src/gtk/chat.ui +++ b/src/gtk/chat.ui @@ -34,6 +34,7 @@ <property name="orientation">1</property> <style> <class name="navigation-sidebar"/> + <class name="messages"/> </style> <property name="tab-behavior">item</property> <property name="accessible-role">log</property> diff --git a/src/style.css b/src/style.css index ae7eab8..44ec363 100644 --- a/src/style.css +++ b/src/style.css @@ -7,3 +7,7 @@ box.message { padding-top: 2px; padding-bottom: 2px; } + +.messages > row { + min-height: 0px; +} |