Closed d-e-v-esh closed 3 years ago
@d-e-v-esh if there are relevant screenshots, can you add them to the description? thanks
@Michael-Grover I have updated the description with a few. 👍
Thanks @d-e-v-esh, It looks good to me visually, but I can't say whether the code needs any revisions. I'll leave that to the engineers
Looks great!
Merge merge? 😄
Signed-off-by: d-e-v-esh 59534570+d-e-v-esh@users.noreply.github.com
Closes #327
This pull request overrides the default CSS properties that were being added to the headings by the web browsers.
Changes
TOOLBAR_DROPDOWN_STYLE_H1
.H1_STYLING
.margin: top right bottom left
margin: '2rem 0rem 1rem 0rem'
margin: '1.8rem 0rem 0.9rem 0rem'
margin: '1.6rem 0rem 0.8rem 0rem'
margin: '1.4rem 0rem 0.7rem 0rem'
margin: '1.2rem 0rem 0.6rem 0rem'
margin: '1.2rem 0rem 0.5rem 0rem'
Screenshots
The problem was encountered while implementing the H6 heading style. The margin is added to the Heading 6 by default by the user agent stylesheet was not in sync with all the other headings.
This is the before and after. Pay attention to the Heading 6 from the before and after.
Before
After
The margins for the headings are also a lot more proportional:
Before:
After:
Author Checklist
--signoff
option of git commit.master
fromfork:branchname