{"id":18195883,"url":"https://github.com/fa0311/fix_chrome_search_on_github","last_synced_at":"2026-05-10T06:44:48.966Z","repository":{"id":186179218,"uuid":"674777779","full_name":"fa0311/fix_chrome_search_on_github","owner":"fa0311","description":"Fix Chrome search on Github","archived":false,"fork":false,"pushed_at":"2023-08-04T18:55:59.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T06:58:43.598Z","etag":null,"topics":["chrome-extension","github"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fa0311.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-04T18:49:57.000Z","updated_at":"2023-08-04T19:25:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"79d1700f-de27-471f-9cd2-9d613e232ca2","html_url":"https://github.com/fa0311/fix_chrome_search_on_github","commit_stats":null,"previous_names":["fa0311/fix_chrome_search_on_github"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa0311%2Ffix_chrome_search_on_github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa0311%2Ffix_chrome_search_on_github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa0311%2Ffix_chrome_search_on_github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa0311%2Ffix_chrome_search_on_github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fa0311","download_url":"https://codeload.github.com/fa0311/fix_chrome_search_on_github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694876,"owners_count":20980733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome-extension","github"],"created_at":"2024-11-03T08:05:18.927Z","updated_at":"2026-05-10T06:44:48.961Z","avatar_url":"https://github.com/fa0311.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fix_chrome_search_on_github\n\nThis repository provides a **stable, reliable workaround** for a GitHub UI bug on Chrome, as shown in the screenshot below. The fix is applied via a **user style (User CSS)** and is designed to work consistently once enabled.\n\n![screenshot](docs/img/1691174639670.png)\n\n---\n\n## What this does\n\nWhen GitHub’s search pages break in Chrome (overlapping layouts, an unusable page, unexpected layers covering the UI, etc.), this user style restores a normal, usable layout.\n\nThis fix works by ensuring only the intended top-level content container remains visible, preventing the broken/duplicated top-layer containers from interfering with the page.\n\n---\n\n## Installation (Recommended: Stylus)\n\nSince Chrome does not provide a convenient built-in way to apply per-site CSS, using a dedicated extension is the easiest and most stable approach.\n\n### 1) Install Stylus\nInstall the **Stylus** browser extension from the Chrome Web Store.\n\n### 2) Create a new style for GitHub\n1. Click the Stylus icon\n2. Choose **New style**\n3. Set the target to `github.com` (or restrict it to search pages only — recommended)\n4. Paste the CSS below\n5. Save and enable\n\n---\n\n## CSS\n\n```css\nbody\u003ediv:nth-child(n+2) {\n    display: none;\n}\n\n---\n\n## Update (Added later)\n\n**This issue has already been fixed on GitHub’s side.**\n\nThis repository (and the User CSS snippet) is kept for historical reference and for anyone who might still encounter similar rendering regressions in specific environments (e.g., older Chrome builds, cached assets, enterprise-managed browsers, etc.).\n\nIf you are no longer seeing the bug, you can safely disable or remove the style.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffa0311%2Ffix_chrome_search_on_github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffa0311%2Ffix_chrome_search_on_github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffa0311%2Ffix_chrome_search_on_github/lists"}