Autohide chat control buttons

This commit is contained in:
jeffser 2024-05-22 19:48:06 -06:00
parent e8f4f8aa89
commit 9080e84089
2 changed files with 8 additions and 1 deletions

View File

@ -10,3 +10,10 @@
.chat_row box {
margin: 0;
}
.chat_row button {
opacity: 0;
transition: opacity .05s;
}
.chat_row:hover button, .chat_row:selected button {
opacity: 1;
}

View File

@ -817,7 +817,7 @@ class AlpacaWindow(Adw.ApplicationWindow):
self.chat_list_box.remove_all()
for name, content in self.chats['chats'].items():
chat_content = Gtk.Box(
spacing = 12,
spacing = 6,
)
chat_row = Gtk.ListBoxRow(
css_classes = ["chat_row"],