Skip to content

Commit 7727f84

Browse files
saithosapk
authored andcommitted
Bugfix/deformed emoji in commit message (backport 1.9) (#8071)
* 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 5d26760 commit 7727f84

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
@@ -668,6 +668,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
668668
.repository .diff-file-box .code-diff-split tbody tr td:nth-child(4){border-left-width:1px;border-left-style:solid}
669669
.repository .diff-file-box.file-content{clear:right}
670670
.repository .diff-file-box.file-content img{max-width:100%;padding:5px 5px 0 5px}
671+
.repository .diff-file-box.file-content img.emoji{padding:0}
671672
.repository .code-view{overflow:auto;overflow-x:auto;overflow-y:hidden}
672673
.repository .repo-search-result{padding-top:10px;padding-bottom:10px}
673674
.repository .repo-search-result .lines-num a{color:inherit}

public/less/_repository.less

+3
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,9 @@
15441544
max-width: 100%;
15451545
padding: 5px 5px 0 5px;
15461546
}
1547+
img.emoji {
1548+
padding: 0;
1549+
}
15471550

15481551
clear: right;
15491552
}

0 commit comments

Comments
 (0)