Last active
April 25, 2025 22:50
-
-
Save cynecx/9234b9229ed2759b7e9230de2aae6bc8 to your computer and use it in GitHub Desktop.
don't judge. very hacky.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name GitHub Fixes | |
| @description This is your new file, start writing code | |
| @match https://github.com/* | |
| ==/UserStyle== */ | |
| /* Compact style for new issues page */ | |
| div:has(>div[aria-labelledby="view-title"]) { | |
| padding: 0px 8px; | |
| } | |
| ul[aria-labelledby*="list-view-container-title"] > div > li[role="listitem"] { | |
| grid-template-areas: | |
| "selection status primary primary actions" | |
| "selection status main-content metadata actions"; | |
| } | |
| ul[aria-labelledby*="list-view-container-title"] > div > li[role="listitem"] > div:has(>div>div>div>svg) { | |
| padding-left: 4px; | |
| } | |
| ul[aria-labelledby*="list-view-container-title"] > div > li[role="listitem"] > div > div:has(relative-time) { | |
| padding-top: 0px; | |
| padding-bottom: 0px; | |
| justify-content: center; | |
| } | |
| div[data-target="react-app.reactRoot"] > div > div > div > div:has(h2[class~="sr-only"]) { | |
| padding: 0px 8px; | |
| } | |
| div[data-target="react-app.reactRoot"] > div > div > div > div:has(div[data-hpc="true"]) { | |
| padding: 0px 8px; | |
| } | |
| /* Reduce padding in markdown content */ | |
| div[data-target="react-app.reactRoot"] div:has(>div[class~="markdown-body"]) { | |
| padding: 6px; | |
| margin: 0px; | |
| } | |
| /* Timeline stuff */ | |
| section[aria-label="Events"] div:has(>div>div>section) { | |
| padding-right: 8px; | |
| } | |
| /* Compact style for new commit page on mobile */ | |
| code > div { | |
| white-space: pre !important; | |
| word-wrap: normal !important; | |
| overflow: unset !important; | |
| } | |
| div:has(>table code) { | |
| overflow: auto !important; | |
| } | |
| table:has(>colgroup>col[width="100%"]) { | |
| width: auto !important; | |
| } | |
| div[data-target="react-app.reactRoot"] > div > div > div > div:has(div[data-hpc="true"]) { | |
| padding: 0px; | |
| } | |
| /* Fixes for current PR File Changes view */ | |
| turbo-frame > div[class~="clearfix"] { | |
| padding-left: 0px !important; | |
| padding-right: 0px !important; | |
| } | |
| turbo-frame > div > div[class~="clearfix"] { | |
| padding-left: 0px !important; | |
| padding-right: 0px !important; | |
| } | |
| .js-blob-wrapper { | |
| overflow-x: auto !important; | |
| isolation: isolate; | |
| } | |
| .blob-code-inner { | |
| white-space: pre !important; | |
| } | |
| .blob-num { | |
| width: 30px; | |
| min-width: 30px; | |
| } | |
| /* blob view */ | |
| div:has(>div>div>div>section) { | |
| margin-left: 2px !important; | |
| margin-right: 2px !important; | |
| } | |
| #copilot-button-positioner { | |
| padding: 0px !important; | |
| margin: 0px !important; | |
| } | |
| .react-line-numbers { | |
| width: 58px !important; | |
| min-width: 58px !important;; | |
| } | |
| .react-code-line-contents { | |
| padding-left: 0px !important;; | |
| padding-right: 0px !important;; | |
| } | |
| textarea[class~="react-blob-textarea"] { | |
| padding-left: 68px !important; | |
| padding-right: 0px !important; | |
| } | |
| .code-navigation-cursor { | |
| display: none; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment