Open tesseralis opened 5 years ago
Is there a reason for max-width: 11em in the home page code headings? (this line: https://github.com/reactjs/reactjs.org/blob/master/src/components/CodeExample/CodeExample.js#L44)
max-width: 11em
"A Component Using External Plugins" is cut off into two lines when it doesn't need to be:
Especially when translated into more verbose languages, this ends up looking weird. See examples in Spanish
Okay so it seems like it's a hack to avoid a widow when viewed on a 1280px monitor...
Probably should just add a "no widows/orphans" plugin to remark
Is there a reason for
max-width: 11em
in the home page code headings? (this line: https://github.com/reactjs/reactjs.org/blob/master/src/components/CodeExample/CodeExample.js#L44)"A Component Using External Plugins" is cut off into two lines when it doesn't need to be:
Especially when translated into more verbose languages, this ends up looking weird. See examples in Spanish