Code blocks not rendered properly in smaller screens
まだ誰も着手していません。
- 主要言語
- CSS
- スター
- 373
- フォーク
- 325
- 平均マージ
- 4日 18時間
- マージ済み PR(30日)
- 1
説明
I noticed an issue in which the code block in the "git log --oneline improvements" section renders badly in smaller screen. Further it also breaks the single-pagedness of the website. As a consequence, one might have to zoom in to read the post and scrolling might take you to empty space in the right. Screen shots:
-
Desktop view:

-
Mobile view (iPhone SE resolution)


Note the scroll bar in the bottom of the page.
It would be nice to fix this by making the code blocks render in such a way that the code within the block is scrollable rather than the whole page being scrollable.
Note: Initially mentioned in https://github.com/git/git.github.io/pull/366#issuecomment-471316738
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンク先の Git Developer Pages サイトにある「git log --oneline improvements」セクションから始め、スクリーンショットに示されている iPhone SE の解像度でレイアウトを再現してください。コードブロックに影響するレスポンシブスタイルを確認してください。完了の条件は、ページ全体にオーバーフローや空白を発生させず、コード自体が水平方向にスクロールすることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css
- 領域
- frontend, web-dev
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100