Last active
June 7, 2023 08:10
-
-
Save ulasozguler/080d677205d9243841e0fac3eebd1b9e to your computer and use it in GitHub Desktop.
Userscript to add "toggle inline comment" button to Github PRs comments. Click "Raw" to install.
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
// ==UserScript== | |
// @name Github comment toggle | |
// @version 0.1.0 | |
// @author Ulas Ozguler | |
// @description Add "toggle inline comment" button to Github PRs comments. | |
// @match https://github.com/*/pull/* | |
// @grant GM_addStyle | |
// @run-at document-start | |
// ==/UserScript== | |
GM_addStyle (` | |
.comment-holder summary[hidden][hidden] { | |
display: block !important; | |
background-color: #4c4333 !important; | |
font-size: 12px; | |
margin: 0; | |
padding: 2px 10px !important; | |
} | |
summary[hidden][hidden]::after { | |
content: "Toggle inline comment"; | |
} | |
`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment