Skip to content

Content Model: Fix line space when reduce font size#2059

Merged
JiuqingSong merged 3 commits intomasterfrom
u/jisong/225625
Sep 15, 2023
Merged

Content Model: Fix line space when reduce font size#2059
JiuqingSong merged 3 commits intomasterfrom
u/jisong/225625

Conversation

@JiuqingSong
Copy link
Collaborator

When reduce font size, if there is already font size specified on paragraph, the line space will keep no change.

To fix this, we can move the font size from paragraph down to each child segments.

Before:
reducefontsizebefore

After:
reducefontsizeafter

@JiuqingSong JiuqingSong merged commit b27157c into master Sep 15, 2023
@JiuqingSong JiuqingSong deleted the u/jisong/225625 branch September 15, 2023 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants