From 0a21b845fa8a56a24ff92996ae21d24935b0c5f0 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Thu, 31 Jul 2025 13:31:12 -0400 Subject: [PATCH] Tighten up settings profile selector modal width (#35419) Release Notes: - N/A --- .../src/settings_profile_selector.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/settings_profile_selector/src/settings_profile_selector.rs b/crates/settings_profile_selector/src/settings_profile_selector.rs index 3b057c2507..8a34c12051 100644 --- a/crates/settings_profile_selector/src/settings_profile_selector.rs +++ b/crates/settings_profile_selector/src/settings_profile_selector.rs @@ -42,7 +42,7 @@ impl Focusable for SettingsProfileSelector { impl Render for SettingsProfileSelector { fn render(&mut self, _: &mut Window, _: &mut Context) -> impl IntoElement { - v_flex().w(rems(34.)).child(self.picker.clone()) + v_flex().w(rems(22.)).child(self.picker.clone()) } } @@ -332,8 +332,7 @@ mod tests { cx.update(|_, cx| { assert!(!cx.has_global::()); - let theme_settings = ThemeSettings::get_global(cx); - assert_eq!(theme_settings.buffer_font_size(cx).0, 10.0); + assert_eq!(ThemeSettings::get_global(cx).buffer_font_size(cx).0, 10.0); }); (workspace, cx)