Closed Jan-Ka closed 7 years ago
This resolves #27 .
The line-height calculation from flowtype cannot be replicated in pure CSS but adding the multiplication of the lineRatio did the trick to produce a quite similar output. It looks good when testing in the chrome device emulator.
Maybe using http://devinhunt.github.io/typebase.css/ or something similar would yield a better result and make it more readable at the same time?
FYI: I've rebased the branch on top of master before merging, so that the graph stays tidy, following the semi-linear workflow.
This resolves #27 .
The line-height calculation from flowtype cannot be replicated in pure CSS but adding the multiplication of the lineRatio did the trick to produce a quite similar output. It looks good when testing in the chrome device emulator.
Maybe using http://devinhunt.github.io/typebase.css/ or something similar would yield a better result and make it more readable at the same time?