LearningTypeScript / site

Companion website for the Learning TypeScript book.
https://learningtypescript.com
MIT License
47 stars 11 forks source link

🐛 Bug: On smaller resolutions content is overflowing device width #111

Closed ColtHands closed 1 year ago

ColtHands commented 1 year ago

Bug Report Checklist

Expected

On smaller resolutions, content is overflowing the actual device width. I believe this is because of the pre tag.

html and header header and footer
image image

Possible solutions is just margin: 0 on smaller resolutions (basically when pre tag is the max width related to content (excluding paddings/margins) ofc.

Or tweaking pre tag's styles so it would fit into the content.

Actual

html and header header and footer
image image

Additional Info

No response