CI: fmt the narrow-layout commits, and Theme::hairline in place of their raw px

This commit is contained in:
ZacharyZhang-NY committed 2026-10-08 21:55:55 -04:00
1 parent 694cccbc81
commit cb5e35f7cb
8 files changed
+69 -21

No files matched your search

+5
View File
@@ -179,6 +179,11 @@ impl Theme {
px(1.0)
}
/// A border's width, which does not scale: `border_1`.
pub fn hairline(&self) -> Pixels {
px(1.0)
}
pub fn caret_width(&self) -> Rems {
px_to_rems(1.5)
}