Title: Code blocks not rendered properly in smaller screens · Issue #367 · git/git.github.io · GitHub
Open Graph Title: Code blocks not rendered properly in smaller screens · Issue #367 · git/git.github.io
X Title: Code blocks not rendered properly in smaller screens · Issue #367 · git/git.github.io
Description: 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 t...
Open Graph Description: 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 conseque...
X Description: 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 ...
Opengraph URL: https://github.com/git/git.github.io/issues/367
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code blocks not rendered properly in smaller screens","articleBody":"I noticed an issue in which the code block in the [\"git log --oneline improvements\"](https://git.github.io/SoC-2019-Ideas/#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:\r\n\r\n* Desktop view:\r\n \r\n\r\n* Mobile view (iPhone SE resolution)\r\n \r\n\r\n \r\n\r\n Note the scroll bar in the bottom of the page.\r\n\r\nIt 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.\r\n\r\n*Note*: Initially mentioned in https://github.com/git/git.github.io/pull/366#issuecomment-471316738","author":{"url":"https://github.com/sivaraam","@type":"Person","name":"sivaraam"},"datePublished":"2019-03-10T17:58:17Z","url":"https://github.com/git/git.github.io/issues/367"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8000dec-f9d9-9f60-b12c-b590f01bfe44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE66:1F7384:EABD54:1370A14:6B010330 |
| html-safe-nonce | c3dee9f992d9dcf7572a9daee258d0e0a93f176ad2dd1d8bc95133255e22b89a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTY2OjFGNzM4NDpFQUJENTQ6MTM3MEExNDo2QjAxMDMzMCIsInZpc2l0b3JfaWQiOiI3MzgyMjY4MzM2NTIxOTM3NzEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a1928d6c4ce4dcc59cdbd5802175a1978faeb0b7e8d788a81e6ba7e253d1bed4 |
| hovercard-subject-tag | issue:419213418 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/git/git.github.io/367/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dcf680dbba1e08c15fed084d0bf530a635a7aa11fd5fa62342bf7aff93992be2/git/git.github.io/issues/367 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dcf680dbba1e08c15fed084d0bf530a635a7aa11fd5fa62342bf7aff93992be2/git/git.github.io/issues/367 |
| og:image:alt | 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 conseque... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sivaraam |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/git/git.github.io git https://github.com/git/git.github.io.git |
| octolytics-dimension-user_id | 18133 |
| octolytics-dimension-user_login | git |
| octolytics-dimension-repository_id | 16789090 |
| octolytics-dimension-repository_nwo | git/git.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16789090 |
| octolytics-dimension-repository_network_root_nwo | git/git.github.io |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width