{"action":"created","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/3578","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/3578/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/3578/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/3578/events","html_url":"https://github.com/go-gitea/gitea/issues/3578","id":299978379,"node_id":"MDU6SXNzdWUyOTk5NzgzNzk=","number":3578,"title":"Cropped commit code and subtitle fonts","user":{"login":"imilo","id":8048912,"node_id":"MDQ6VXNlcjgwNDg5MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/8048912?v=4","gravatar_id":"","url":"https://api.github.com/users/imilo","html_url":"https://github.com/imilo","followers_url":"https://api.github.com/users/imilo/followers","following_url":"https://api.github.com/users/imilo/following{/other_user}","gists_url":"https://api.github.com/users/imilo/gists{/gist_id}","starred_url":"https://api.github.com/users/imilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imilo/subscriptions","organizations_url":"https://api.github.com/users/imilo/orgs","repos_url":"https://api.github.com/users/imilo/repos","events_url":"https://api.github.com/users/imilo/events{/privacy}","received_events_url":"https://api.github.com/users/imilo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-24T22:29:04Z","updated_at":"2018-06-04T02:58:44Z","closed_at":null,"author_association":"NONE","body":"- Gitea version: **1.4.0-rc1**\r\n- Operating system: **Linux**\r\n- Can you reproduce the bug at https://try.gitea.io:\r\n  - [x] Yes (https://try.gitea.io/Bwko/VsCode/commit/903169966590cd236c5016cdc774875215d31765)\r\n  - [ ] No\r\n  - [ ] Not relevant\r\n\r\n## Description\r\nWhen I open commit details in Chromium browser I see that all code text and subtitle is cropped - no upper or bottom parts of letters. And space between lines is too small. Check screenshots below (red arrows show some examples).\r\n\r\nOn Firefox text is not cropped, but line-height is still too small.\r\n\r\nI fix it in a custom header template with CSS:\r\n```css\r\n/* Prevent cropped commits code fonts */\r\n.lines-code pre code {\r\n  line-height: 19px;\r\n}\r\n  \r\n/* Prevent cropped commit description fonts (Fixes #1133) */\r\n.repository.diff .ui.top.attached.info.clearing.segment pre {\r\n  line-height: 13px;\r\n}\r\n```\r\n... but I believe you would like to fix it globally.\r\n\r\n## Screenshots\r\n![cropped2](https://user-images.githubusercontent.com/8048912/36635702-67e2f2de-19c2-11e8-9852-988ee2d3944a.png)\r\n\r\n![cropped](https://user-images.githubusercontent.com/8048912/36635573-310aa89e-19c0-11e8-9966-798b20d8d37c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/comments/394221758","html_url":"https://github.com/go-gitea/gitea/issues/3578#issuecomment-394221758","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/3578","id":394221758,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDIyMTc1OA==","user":{"login":"rvillablanca","id":1508272,"node_id":"MDQ6VXNlcjE1MDgyNzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1508272?v=4","gravatar_id":"","url":"https://api.github.com/users/rvillablanca","html_url":"https://github.com/rvillablanca","followers_url":"https://api.github.com/users/rvillablanca/followers","following_url":"https://api.github.com/users/rvillablanca/following{/other_user}","gists_url":"https://api.github.com/users/rvillablanca/gists{/gist_id}","starred_url":"https://api.github.com/users/rvillablanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvillablanca/subscriptions","organizations_url":"https://api.github.com/users/rvillablanca/orgs","repos_url":"https://api.github.com/users/rvillablanca/repos","events_url":"https://api.github.com/users/rvillablanca/events{/privacy}","received_events_url":"https://api.github.com/users/rvillablanca/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T02:58:44Z","updated_at":"2018-06-04T02:58:44Z","author_association":"CONTRIBUTOR","body":"On Ubuntu 18.04 with Chrome 67.0.3396.62, the same happens.\r\nIt seems the bug is related with `Liberation Mono` font.\r\nRelated: https://github.com/gogs/gogs/issues/5232"}}
{"actor":{"display_login":"rvillablanca"}}