Fixes deformed emoji in pull request reviews (#8047)

* Fixes deformed emoji in pull request comments or reviews

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Generate css via command

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
This commit is contained in:
Mario Lubenka 2019-09-03 19:08:30 +02:00 committed by Antoine GIRARD
parent 2bcd7f34e9
commit be29811f2f
2 changed files with 4 additions and 0 deletions

View File

@ -678,6 +678,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 .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{clear:right}
.repository .diff-file-box.file-content img{max-width:100%;padding:5px 5px 0 5px} .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 .repo-search-result{padding-top:10px;padding-bottom:10px} .repository .repo-search-result{padding-top:10px;padding-bottom:10px}
.repository .repo-search-result .lines-num a{color:inherit} .repository .repo-search-result .lines-num a{color:inherit}
.repository.quickstart .guide .item{padding:1em} .repository.quickstart .guide .item{padding:1em}

View File

@ -1424,6 +1424,9 @@
max-width: 100%; max-width: 100%;
padding: 5px 5px 0 5px; padding: 5px 5px 0 5px;
} }
img.emoji {
padding: 0;
}
clear: right; clear: right;
} }