From 6312411deca4b564facd1507ee2224ddc8515664 Mon Sep 17 00:00:00 2001 From: Mario Lubenka Date: Sun, 1 Sep 2019 09:18:27 +0200 Subject: [PATCH 1/2] Fixes deformed emoji in pull request comments or reviews Signed-off-by: Mario Lubenka --- public/css/index.css | 1 + public/less/_repository.less | 3 +++ 2 files changed, 4 insertions(+) diff --git a/public/css/index.css b/public/css/index.css index ec92e8358bd99..368279ababf6d 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -668,6 +668,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository .diff-file-box .code-diff-split tbody tr td:nth-child(4){border-left-width:1px;border-left-style:solid} .repository .diff-file-box.file-content{clear:right} .repository .diff-file-box.file-content img{max-width:100%;padding:5px 5px 0 5px} +.repository .diff-file-box.file-content img.emoji{padding: 0} .repository .code-view{overflow:auto;overflow-x:auto;overflow-y:hidden} .repository .repo-search-result{padding-top:10px;padding-bottom:10px} .repository .repo-search-result .lines-num a{color:inherit} diff --git a/public/less/_repository.less b/public/less/_repository.less index 76ad0226393bd..5cad42b98a686 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1544,6 +1544,9 @@ max-width: 100%; padding: 5px 5px 0 5px; } + img.emoji { + padding: 0; + } clear: right; } From 3b678f5f5f13fc79230e05ef07241750a3e00820 Mon Sep 17 00:00:00 2001 From: Mario Lubenka Date: Tue, 3 Sep 2019 08:23:50 +0200 Subject: [PATCH 2/2] Generate css via command Signed-off-by: Mario Lubenka --- public/css/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/index.css b/public/css/index.css index 368279ababf6d..5976ac7195574 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -668,7 +668,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository .diff-file-box .code-diff-split tbody tr td:nth-child(4){border-left-width:1px;border-left-style:solid} .repository .diff-file-box.file-content{clear:right} .repository .diff-file-box.file-content img{max-width:100%;padding:5px 5px 0 5px} -.repository .diff-file-box.file-content img.emoji{padding: 0} +.repository .diff-file-box.file-content img.emoji{padding:0} .repository .code-view{overflow:auto;overflow-x:auto;overflow-y:hidden} .repository .repo-search-result{padding-top:10px;padding-bottom:10px} .repository .repo-search-result .lines-num a{color:inherit}