CI: fmt the narrow-layout commits, and Theme::hairline in place of their raw px
This commit is contained in:
1 parent
694cccbc81
commit
cb5e35f7cb
8 files changed
+69
-21
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user