From 570031538ad6257e4b53522d6c3a731349b21f70 Mon Sep 17 00:00:00 2001 From: zhuminghui2 Date: Tue, 4 Jun 2024 10:58:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dpoistion=E7=9A=84?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style_propetries/position.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style_propetries/position.rs b/src/style_propetries/position.rs index ccf5eba..c1ad8a6 100644 --- a/src/style_propetries/position.rs +++ b/src/style_propetries/position.rs @@ -46,7 +46,7 @@ impl From<(String, &Property<'_>)> for Position { impl ToExpr for Position { fn to_expr(&self) -> PropertyTuple { PropertyTuple::One( - CSSPropertyType::Display, + CSSPropertyType::Position, match &self.value { EnumValue::Static => generate_expr_enum!(style_property_enum::Position::Static), EnumValue::Relative => generate_expr_enum!(style_property_enum::Position::Relative),