diff options
-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; +} |