Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Tighten up settings profile selector modal width (#35419)
Joseph T. Lyons0a21b845fa8a
diff --git a/crates/settings_profile_selector/src/settings_profile_selector.rs b/crates/settings_profile_selector/src/settings_profile_selector.rsindex 3b057c2507a..8a34c120512 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<Self>) -> 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::<ActiveSettingsProfileName>());- 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)