Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@khiga8
Copy link
Owner

@khiga8 khiga8 commented Feb 14, 2022

This PR improves the heading position CSS to not use absolute positioning for aligning the appended heading level text. The reason is because if the heading text is very long, the appended text can end up overlapping. Instead, we use table cell CSS to position the appended heading level to right of end of line (Reference: https://stackoverflow.com/a/17175726).

We also extract the styles into a CSS file to allow for easier customization. Applying styles via classname instead of through inline styling also will make it easier to debug when there are issues. We update README accordingly.

@khiga8 khiga8 merged commit c816768 into main Feb 14, 2022
@khiga8 khiga8 deleted the kh-clean_styling branch February 14, 2022 00:37
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.

1 participant