Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List numbers should follow the theme #339

Merged
merged 2 commits into from
May 5, 2024
Merged

Conversation

amantoux
Copy link
Member

Closes #264

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.76%. Comparing base (cc3921c) to head (350547d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #339   +/-   ##
=======================================
  Coverage   87.76%   87.76%           
=======================================
  Files          64       64           
  Lines       10284    10284           
=======================================
  Hits         9026     9026           
  Misses       1258     1258           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amantoux amantoux requested a review from Amir-P April 30, 2024 20:38
@amantoux
Copy link
Member Author

@Amir-P no tests here neither, sounds like overkill. Ok with you?

Copy link
Member

@Amir-P Amir-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. The bottom alignment seems to fail when the text inside list breaks into multiple lines. In the screenshot, the top editor uses 1.8, the one in the middle 1.3 and the bottom one uses 1.0 as style height.

Screenshot 2024-05-05 at 11 41 26

I think we need to align the leading widget to the baseline instead of top or bottom. What do you think? Here is the same styles for unordered list:

Screenshot 2024-05-05 at 11 45 26

@amantoux
Copy link
Member Author

amantoux commented May 5, 2024

Yes, aligning to baseline is way to go

Need to find the right way to do so

@Amir-P shouldn't we address this in a separate PR?

@Amir-P
Copy link
Member

Amir-P commented May 5, 2024

@Amir-P shouldn't we address this in a separate PR?

You mean merging this one as is? I don't find it in a mergeable state since it's introducing a new issue which is more severe than the one it's fixing. @amantoux

@amantoux
Copy link
Member Author

amantoux commented May 5, 2024

@Amir-P shouldn't we address this in a separate PR?

You mean merging this one as is? I don't find it in a mergeable state since it's introducing a new issue which is more severe than the one it's fixing. @amantoux

No obviously
Restoring alignment

@amantoux amantoux requested a review from Amir-P May 5, 2024 11:45
@amantoux amantoux force-pushed the list_numbers_follow_theme branch from cb31f9f to 350547d Compare May 5, 2024 11:46
Copy link
Member

@Amir-P Amir-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We will address the alignment issue in another PR.

@amantoux amantoux changed the title List numbers should follow the theme and align according to line height List numbers should follow the theme May 5, 2024
@Amir-P Amir-P merged commit 428bf54 into master May 5, 2024
4 checks passed
@Amir-P Amir-P deleted the list_numbers_follow_theme branch May 5, 2024 14:11
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.

Adjusting TextBlockTheme height does not reflect in block type.
2 participants