From 92363f00060b2138d750cb97988eb0d1fcb6c35b Mon Sep 17 00:00:00 2001 From: zhuminghui2 Date: Mon, 13 Nov 2023 18:31:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dletterspacing=E7=9A=84?= =?UTF-8?q?=E5=90=8D=E5=AD=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style_parser.rs b/src/style_parser.rs index dd58a2a..d620f4f 100644 --- a/src/style_parser.rs +++ b/src/style_parser.rs @@ -293,7 +293,7 @@ pub fn parse_style_properties(properties: &Vec<(String, Property<'_>)>) -> Style _ => {} } } - "letter-spacing" => { + "letterSpacing" => { let letter_spacing = LetterSpacing::from(value); match letter_spacing { LetterSpacing::Px(_) => {