checkpoint

This commit is contained in:
Nate Butler
2023-12-07 00:33:24 -05:00
parent 42a3da4ba3
commit 7a1eb54106
2 changed files with 87 additions and 77 deletions
+7 -5
View File
@@ -98,11 +98,13 @@ impl RenderOnce for Key {
div()
.py_0()
.when_else(
single_char,
|el| el.w(rems(14. / 16.)).flex().flex_none().justify_center(),
|el| el.px_0p5(),
)
.map(|el| {
if single_char {
el.w(rems(14. / 16.)).flex().flex_none().justify_center()
} else {
el.px_0p5()
}
})
.h(rems(14. / 16.))
.text_ui()
.line_height(relative(1.))