Decathlon / vitamin-ios

Decathlon Design System UI components for iOS & iPadOS applications
https://www.decathlon.design
Apache License 2.0
46 stars 14 forks source link

fix: SwiftUI TextStyle modifier line height #87

Closed florentlotthepro closed 1 year ago

florentlotthepro commented 1 year ago

Changes description

I fixed the line height calculation to get the correct value.

Context

The line height when using the .vitaminTextStyle modifier was not correct.

Checklist

Does this introduce a breaking change?

Screenshots

Before After
Before After
With dynamic type enabled
Before 1 After 1
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication