Page at /docs/templates/directives/ does not seem responsive to thinner displays
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
If you navigate to https://lit.dev/docs/templates/directives/ and change the page to be narrow or a mobile viewport.
Note that long directive type signatures leak out the side of the page.
In the screenshot the contents of the article should stay within the red line.
My suggestion would be to add `overflow-x` on an appropriate container so the contents of the table can be scrolled left to right rather than overflowing the contents.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open https://lit.dev/docs/templates/directives/ and reproduce the layout at a narrow or mobile viewport. Inspect the page container around the long directive type-signature table; it is done when the article stays within the viewport and the table can be scrolled horizontally instead of overflowing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100