Tighten up settings profile selector modal width (#35419)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-07-31 13:31:12 -04:00 committed by GitHub
parent 6a8be1714e
commit 0a21b845fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)