Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions data/styles/AppInfoView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ appinfoview {
}

linklistbox {
row.link grid {
padding: 0 rem(6px);
border-spacing: rem(12px) 0;
granite-listitem.link grid {
border-spacing: 1em 0;
padding: 0 0.5em;
}
}
}
Expand Down
8 changes: 3 additions & 5 deletions src/Widgets/LinkListBox.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public class AppCenter.LinkListBox : Gtk.Widget {
selection_mode = NONE,
valign = START
};
contact_listbox.add_css_class ("boxed-list");
contact_listbox.add_css_class (Granite.STYLE_CLASS_RICH_LIST);
contact_listbox.add_css_class (Granite.CssClass.CARD);

var homepage_url = component.get_url (HOMEPAGE);
if (homepage_url != null) {
Expand Down Expand Up @@ -76,8 +75,7 @@ public class AppCenter.LinkListBox : Gtk.Widget {
selection_mode = NONE,
valign = START
};
contribute_listbox.add_css_class ("boxed-list");
contribute_listbox.add_css_class (Granite.STYLE_CLASS_RICH_LIST);
contribute_listbox.add_css_class (Granite.CssClass.CARD);

var project_license = component.project_license;
if (project_license != null) {
Expand Down Expand Up @@ -292,7 +290,7 @@ public class AppCenter.LinkListBox : Gtk.Widget {
return final_token_list.to_array ();
}

private class LinkRow : Gtk.ListBoxRow {
private class LinkRow : Granite.ListItem {
public string uri_or_key { get; construct; }
public string icon_name { get; construct; }
public string label_string { get; construct; }
Expand Down
Loading