Skip to content

Commit

Permalink
Merge pull request #22 from kwshi/main
Browse files Browse the repository at this point in the history
fix: `size.percent_` return `Pct` instead of `Px`
  • Loading branch information
ghivert authored Aug 6, 2024
2 parents b29017c + 92110ff commit 9b21dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sketch/src/sketch/size.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn percent(value: Int) {
}

pub fn percent_(value: Float) {
Px(value)
Pct(value)
}

pub fn vh(value: Int) {
Expand Down

0 comments on commit 9b21dc8

Please sign in to comment.