Skip to content

Commit be29811

Browse files
saithosapk
authored andcommitted
Fixes deformed emoji in pull request reviews (#8047)
* Fixes deformed emoji in pull request comments or reviews Signed-off-by: Mario Lubenka <[email protected]> * Generate css via command Signed-off-by: Mario Lubenka <[email protected]>
1 parent 2bcd7f3 commit be29811

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

public/css/index.css

+1
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
678678
.repository .diff-file-box .code-diff-split tbody tr td:nth-child(4){border-left-width:1px;border-left-style:solid}
679679
.repository .diff-file-box.file-content{clear:right}
680680
.repository .diff-file-box.file-content img{max-width:100%;padding:5px 5px 0 5px}
681+
.repository .diff-file-box.file-content img.emoji{padding:0}
681682
.repository .repo-search-result{padding-top:10px;padding-bottom:10px}
682683
.repository .repo-search-result .lines-num a{color:inherit}
683684
.repository.quickstart .guide .item{padding:1em}

public/less/_repository.less

+3
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,9 @@
14241424
max-width: 100%;
14251425
padding: 5px 5px 0 5px;
14261426
}
1427+
img.emoji {
1428+
padding: 0;
1429+
}
14271430

14281431
clear: right;
14291432
}

0 commit comments

Comments
 (0)