Tighten up settings profile selector modal width (#35419)

Joseph T. Lyons created

Release Notes:

- N/A

Change summary

crates/settings_profile_selector/src/settings_profile_selector.rs | 5 
1 file changed, 2 insertions(+), 3 deletions(-)

Detailed changes

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)