git / git/git-scm.com

`display: grid` being applied in some menus where it shouldn't

Open
#2,047 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug design
Dominant language
HTML
Stars
2.4k
Forks
1.4k
Avg merge
6d 12h
Merged PRs (30d)
2

Description

There's a header { display: grid } that's causing an issue in a couple of the menus: I think it's meant to only apply to the main <header> at the top of the page, but it's affecting these menus too:

Image Image

Contributor guide

No contributing guide indexed for this repository

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

Locate the header { display: grid } rule in the site's styles and reproduce the two affected menus shown in the issue. Check how the rule also matches menu headers, then limit it to the main page header and verify that the menus no longer receive the grid layout while the top header still does.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.