{"action":"created","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/4971","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/4971/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/4971/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/4971/events","html_url":"https://github.com/go-gitea/gitea/pull/4971","id":362577802,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MjU3Mjk5","number":4971,"title":"Fix layout of the topics editing form","user":{"login":"kzmi","id":3753969,"node_id":"MDQ6VXNlcjM3NTM5Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/3753969?v=4","gravatar_id":"","url":"https://api.github.com/users/kzmi","html_url":"https://github.com/kzmi","followers_url":"https://api.github.com/users/kzmi/followers","following_url":"https://api.github.com/users/kzmi/following{/other_user}","gists_url":"https://api.github.com/users/kzmi/gists{/gist_id}","starred_url":"https://api.github.com/users/kzmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzmi/subscriptions","organizations_url":"https://api.github.com/users/kzmi/orgs","repos_url":"https://api.github.com/users/kzmi/repos","events_url":"https://api.github.com/users/kzmi/events{/privacy}","received_events_url":"https://api.github.com/users/kzmi/received_events","type":"User","site_admin":false},"labels":[{"id":945910445,"node_id":"MDU6TGFiZWw5NDU5MTA0NDU=","url":"https://api.github.com/repos/go-gitea/gitea/labels/backport/v1.5","name":"backport/v1.5","color":"fbca04","default":false},{"id":472744938,"node_id":"MDU6TGFiZWw0NzI3NDQ5Mzg=","url":"https://api.github.com/repos/go-gitea/gitea/labels/kind/bug","name":"kind/bug","color":"ee0701","default":false},{"id":474799001,"node_id":"MDU6TGFiZWw0NzQ3OTkwMDE=","url":"https://api.github.com/repos/go-gitea/gitea/labels/kind/ui","name":"kind/ui","color":"fef2c0","default":false},{"id":475283583,"node_id":"MDU6TGFiZWw0NzUyODM1ODM=","url":"https://api.github.com/repos/go-gitea/gitea/labels/lgtm/need%202","name":"lgtm/need 2","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/go-gitea/gitea/milestones/24","html_url":"https://github.com/go-gitea/gitea/milestone/24","labels_url":"https://api.github.com/repos/go-gitea/gitea/milestones/24/labels","id":3338092,"node_id":"MDk6TWlsZXN0b25lMzMzODA5Mg==","number":24,"title":"1.6.0","description":"","creator":{"login":"lunny","id":81045,"node_id":"MDQ6VXNlcjgxMDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/81045?v=4","gravatar_id":"","url":"https://api.github.com/users/lunny","html_url":"https://github.com/lunny","followers_url":"https://api.github.com/users/lunny/followers","following_url":"https://api.github.com/users/lunny/following{/other_user}","gists_url":"https://api.github.com/users/lunny/gists{/gist_id}","starred_url":"https://api.github.com/users/lunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunny/subscriptions","organizations_url":"https://api.github.com/users/lunny/orgs","repos_url":"https://api.github.com/users/lunny/repos","events_url":"https://api.github.com/users/lunny/events{/privacy}","received_events_url":"https://api.github.com/users/lunny/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":182,"state":"open","created_at":"2018-05-11T05:37:01Z","updated_at":"2018-09-21T12:25:47Z","due_on":"2018-09-25T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-09-21T11:43:22Z","updated_at":"2018-09-21T13:47:58Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/go-gitea/gitea/pulls/4971","html_url":"https://github.com/go-gitea/gitea/pull/4971","diff_url":"https://github.com/go-gitea/gitea/pull/4971.diff","patch_url":"https://github.com/go-gitea/gitea/pull/4971.patch"},"body":"With Chinese or Japanese translation, \"Done\" button in the topics editing form is not displayed as a single line.\r\n\r\n(Simplified Chinese)\r\n![btn-simplified_chinese](https://user-images.githubusercontent.com/3753969/45875816-bce9fb00-bdd3-11e8-8841-793c88c6fcd2.png)\r\n\r\nExpected result is:\r\n![expected](https://user-images.githubusercontent.com/3753969/45875898-fc184c00-bdd3-11e8-8733-5b2a8d83fd9d.png)\r\n\r\n### Cause\r\n1. The form uses Semantic UI Grid, and the right-hand column has too short width for displaying a button.\r\n\r\n![current-layout](https://user-images.githubusercontent.com/3753969/45878103-e35f6480-bdda-11e8-8255-49ae26da1709.png)\r\n\r\n2. After clicking \"Manage Topics\", the editing form is shown using jQuery's .show().  But it breaks functionarity of Semantic UI Grid because \"display: block\" style will be set.  The style of the grid should be \"display: flex\".   \r\n   If the style of the grid was \"display: block\", right-hand column specified as \"two wide column\" will be wrapped to the next line.\r\n\r\nThis PR fixes 1 and 2."},"comment":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/comments/423536608","html_url":"https://github.com/go-gitea/gitea/pull/4971#issuecomment-423536608","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/4971","id":423536608,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzUzNjYwOA==","user":{"login":"lunny","id":81045,"node_id":"MDQ6VXNlcjgxMDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/81045?v=4","gravatar_id":"","url":"https://api.github.com/users/lunny","html_url":"https://github.com/lunny","followers_url":"https://api.github.com/users/lunny/followers","following_url":"https://api.github.com/users/lunny/following{/other_user}","gists_url":"https://api.github.com/users/lunny/gists{/gist_id}","starred_url":"https://api.github.com/users/lunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunny/subscriptions","organizations_url":"https://api.github.com/users/lunny/orgs","repos_url":"https://api.github.com/users/lunny/repos","events_url":"https://api.github.com/users/lunny/events{/privacy}","received_events_url":"https://api.github.com/users/lunny/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T13:47:58Z","updated_at":"2018-09-21T13:47:58Z","author_association":"MEMBER","body":"![image](https://user-images.githubusercontent.com/81045/45885052-faf11a00-bde7-11e8-8002-27784a938d6a.png)\r\n"}}
{"actor":{"display_login":"lunny"}}