Skip to content

Commit

Permalink
fix: 修复letterspacing的名字错误
Browse files Browse the repository at this point in the history
  • Loading branch information
heiazu committed Nov 13, 2023
1 parent d23b839 commit 92363f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(_) => {
Expand Down

0 comments on commit 92363f0

Please # to comment.