Skip to content

Commit

Permalink
fix(Profile): birthday style set to whole row when single (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr authored Nov 19, 2024
1 parent 8a6721b commit 830daa1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Widgets/ProfileCover.vala
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,12 @@ protected class Tuba.Widgets.Cover : Gtk.Box {
});

if (is_birthday) {
row.add_css_class ("ttl-birthday-field");
if (total_fields == 1) {
fields_box.add_css_class ("ttl-birthday-field");
} else {
row.add_css_class ("ttl-birthday-field");
}

title_box.prepend (new Gtk.Image.from_icon_name ("tuba-birthday-symbolic"));
} else {
title_box.prepend (new Gtk.Image.from_icon_name ("contact-new-symbolic"));
Expand Down

0 comments on commit 830daa1

Please sign in to comment.