Shrink xsmall controls

- Reduce xsmall control height from 24px to 20px.
- Scale xsmall text, icons, avatars, and switches down with it.
This commit is contained in:
2026-11-16 19:07:10 +07:00
parent be457c1bba
commit 21faea00c5
3 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -44,5 +44,5 @@ fn buttons_render_at_their_token_heights(cx: &mut TestAppContext) {
.expect("xsmall button laid out");
assert_eq!(medium.size.height, px(32.0));
assert_eq!(xsmall.size.height, px(24.0));
assert_eq!(xsmall.size.height, px(20.0));
}