commit 8684ac65b85b1e5bf34d3e9f9a60c212219c3bb0
parent ed115edd2f54a1fe2d25f174669aed5ff36910ca
Author: triesap <tyson@radroots.org>
Date: Sun, 7 Jun 2026 16:11:41 -0700
ui: tighten account tab scroll edge
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/crates/desktop/src/window.rs b/crates/desktop/src/window.rs
@@ -9463,6 +9463,11 @@ fn account_tab_frame(
panel: AnyElement,
) -> AnyElement {
let content_max_width_px = APP_UI_THEME.shells.home_card_max_width_px;
+ let panel = div()
+ .w_full()
+ .pb(px(ACCOUNT_TAB_SCROLL_BOTTOM_PADDING_PX))
+ .child(panel)
+ .into_any_element();
div()
.size_full()
@@ -9494,6 +9499,8 @@ fn account_tab_frame(
.into_any_element()
}
+const ACCOUNT_TAB_SCROLL_BOTTOM_PADDING_PX: f32 = 4.0;
+
fn account_placeholder_panel(text_key: AppTextKey) -> impl IntoElement {
div()
.w_full()