@@ -62,9 +62,13 @@ fn generate_methods() -> Vec<TokenStream2> {
fn tailwind_lengths() -> Vec<(&'static str, TokenStream2)> {
vec![
("0", quote! { pixels(0.) }),
+ ("0p5", quote! { rems(0.125) }),
("1", quote! { rems(0.25) }),
+ ("1p5", quote! { rems(0.375) }),
("2", quote! { rems(0.5) }),
+ ("2p5", quote! { rems(0.625) }),
("3", quote! { rems(0.75) }),
+ ("3p5", quote! { rems(0.875) }),
("4", quote! { rems(1.) }),
("5", quote! { rems(1.25) }),
("6", quote! { rems(1.5) }),
@@ -128,8 +128,8 @@ impl<V: 'static> CollabPanelElement<V> {
.text_sm()
.child(
div()
- .w_4()
- .h_4()
+ .w_3p5()
+ .h_3p5()
.fill(theme.middle.negative.default.foreground),
)
.child("maxbrunsfeld"),
@@ -142,8 +142,8 @@ impl<V: 'static> CollabPanelElement<V> {
.items_center()
.child(
div()
- .w_3_5()
- .h_3_5()
+ .w_4()
+ .h_4()
.fill(theme.middle.negative.default.foreground),
)
.child("i"),