update repo list

This commit is contained in:
2026-08-30 20:30:55 +07:00
parent da9f5dfa83
commit ffe74594b4
+3 -3
View File
@@ -23,7 +23,7 @@ use super::RepoDetailView;
use crate::image_cache::{MAX_IMAGES, image_cache}; use crate::image_cache::{MAX_IMAGES, image_cache};
const COLUMNS: usize = 2; const COLUMNS: usize = 2;
const CARD_HEIGHT: f32 = 32. + 64. + 48. + 2. + 6.; const CARD_HEIGHT: f32 = 40. + 64. + 48. + 2. + 6.;
/// How many of the newest repositories the "Recent" sort shows. /// How many of the newest repositories the "Recent" sort shows.
const RECENT_COUNT: usize = 10; const RECENT_COUNT: usize = 10;
@@ -233,7 +233,7 @@ impl RepoListView {
.hover(|this| this.bg(cx.theme().list_hover)) .hover(|this| this.bg(cx.theme().list_hover))
.child( .child(
h_flex() h_flex()
.h_8() .h_10()
.text_sm() .text_sm()
.font_semibold() .font_semibold()
.whitespace_nowrap() .whitespace_nowrap()
@@ -244,7 +244,7 @@ impl RepoListView {
div() div()
.h_16() .h_16()
.min_w_0() .min_w_0()
.text_sm() .text_xs()
.text_color(cx.theme().muted_foreground) .text_color(cx.theme().muted_foreground)
.line_clamp(2) .line_clamp(2)
.text_ellipsis() .text_ellipsis()