GeraldWodni / forth-standard.org

Official website of the Forth 2012 Standard, and the Forth200x committee.
9 stars 3 forks source link

Misaligned Header #60

Open olivia-mativi opened 1 month ago

olivia-mativi commented 1 month ago

https://forth-standard.org/standard/members-2x

h1 style as configured causes the italicized "x" to flow into a second column and "membership" to flow into a second row.

image

Removing this rule from the CSS appears to fix the issue without breaking other headers.

.forth-200x h1 { display: grid; grid-template-areas: "number list" "name english"; grid-template-columns: 1fr auto; }

ruv commented 1 month ago

Removing this rule from the CSS appears to fix the issue without breaking other headers.

.forth-200x h1 { display: grid; grid-template-areas: "number list" "name english"; grid-template-columns: 1fr auto; }

This rule is defined in css/forth.less#L11.

It is also applied to headers in glossary entries (like 6.1.0710 ALLOT). Removing this rule will negatively affect them.

Probably, each glossary entry section kind should have some unique class.

Or, we can use the fact that they don't have div#body ancestor:

.forth-200x div#body h1 { display: block; } /* override "dispaly: grid" for glossary entry headers */