Last active
July 2, 2026 04:02
-
-
Save aiya000/ea0fb84994fab19668b61519a723ebe2 to your computer and use it in GitHub Desktop.
GitHub PR Page Comments (Conversation) Full Width
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
| /* `| Conversation | Commits Checks | Files changed |`より下を持っているコンテナ */ | |
| #diff-comparison-viewer-container div[class*="prc-PageLayout-PageLayoutContent-"] { | |
| display: block !important; | |
| overflow-x: auto !important; | |
| } | |
| /* Issue/PRのComments(Conversation) */ | |
| #diff-comparison-viewer-container div[class*="prc-PageLayout-ContentWrapper-"][class*="Conversations-module__content__"] { | |
| margin-top: 60px; /* TODO: これ入れないとIssue(PR)作成者のヘッダーがIssue(PR)の本文開始と重なるので、暫定対処。この値は重ならない値のうちおおよそ最小のもの。後でちゃんと対応する */ | |
| width: 90vw !important; | |
| max-width: 90vw !important; | |
| flex-shrink: 0 !important; | |
| flex-grow: 0 !important; | |
| } | |
| /* | |
| #diff-comparison-viewer-container div[class*="prc-PageLayout-Content-"][data-width="large"] { | |
| } | |
| */ | |
| /* | |
| * TODO: PageLayoutContentの雑なレイアウト(`display: block`)のせいで、**ページの一番下に配置されてしまっている**(注意)。PageLayoutContentの一番上か、Commentsの右(overflow-xするよう)に配置するようにする | |
| */ | |
| /* サイドバー: 縮まない */ | |
| #diff-comparison-viewer-container div[class*="prc-PageLayout-PaneWrapper-"] { | |
| padding-top: 100px !important; | |
| flex-shrink: 0 !important; | |
| } | |
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2025 aiya000 | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in | |
| all copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
| THE SOFTWARE. | |
| */ |
aiya000
commented
Jul 2, 2026
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment