Skip to content

Commit 68b09ce

Browse files
authored
Merge pull request #79 from dev-five-git/aspect-ratio
Aspect ratio
2 parents 98f1b32 + eaf2737 commit 68b09ce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/rude-crabs-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@devup-ui/wasm": patch
3+
---
4+
5+
Add aspectRatio to maintain value

libs/extractor/src/extract_style/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ static MAINTAIN_VALUE_PROPERTIES: Lazy<HashSet<String>> = Lazy::new(|| {
2727
set.insert("zIndex".to_string());
2828
set.insert("fontWeight".to_string());
2929
set.insert("scale".to_string());
30+
set.insert("aspectRatio".to_string());
3031
set
3132
});
3233

0 commit comments

Comments
 (0)