matrix-org / matrix-org/matrix-spec

Add left padding to ToC items

Open
#762 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

aesthetic spec-redesign
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

From https://github.com/matrix-org/matrix-doc/pull/2959#issuecomment-762636762:

> The light blue background highlight of the active link in the TOC should have a left padding so it doesn't look so tight when e.g. "Matrix Specification" is active. I'm bikeshedding now, so I'll stop at this point.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked pull request discussion, then locate the table-of-contents active-link styling in the repository. Add the requested left padding and verify that the light-blue highlight no longer looks tight when "Matrix Specification" is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.