#633 emoji
This commit is contained in:
parent
3b0c2cb480
commit
d48cde6ec8
@ -278,6 +278,11 @@ img.avatar-100 {
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
.emoji {
|
||||||
|
width: 1.5em;
|
||||||
|
height: 1.5em;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
.markdown {
|
.markdown {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
|
||||||
|
@ -936,6 +936,10 @@ $(document).ready(function () {
|
|||||||
$('#pull-issue-preview').markdown_preview(".issue-add-comment");
|
$('#pull-issue-preview').markdown_preview(".issue-add-comment");
|
||||||
|
|
||||||
homepage();
|
homepage();
|
||||||
|
emojify.setConfig({
|
||||||
|
img_dir:'/img/emoji'
|
||||||
|
});
|
||||||
|
emojify.run();
|
||||||
|
|
||||||
// Fix language drop-down menu height.
|
// Fix language drop-down menu height.
|
||||||
var l = $('#footer-lang li').length;
|
var l = $('#footer-lang li').length;
|
||||||
|
11
public/ng/js/min/gogs-min.js
vendored
11
public/ng/js/min/gogs-min.js
vendored
File diff suppressed because one or more lines are too long
@ -299,3 +299,8 @@ clear: both;
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
.emoji {
|
||||||
|
width: 1.5em;
|
||||||
|
height: 1.5em;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
@ -29,6 +29,7 @@
|
|||||||
<script src="{{AppSubUrl}}/ng/js/lib/lib.js"></script>
|
<script src="{{AppSubUrl}}/ng/js/lib/lib.js"></script>
|
||||||
<script src="{{AppSubUrl}}/ng/js/lib/jquery.tipsy.js"></script>
|
<script src="{{AppSubUrl}}/ng/js/lib/jquery.tipsy.js"></script>
|
||||||
<script src="{{AppSubUrl}}/ng/js/lib/jquery.magnific-popup.min.js"></script>
|
<script src="{{AppSubUrl}}/ng/js/lib/jquery.magnific-popup.min.js"></script>
|
||||||
|
<script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
|
||||||
<script src="{{AppSubUrl}}/ng/js/utils/tabs.js"></script>
|
<script src="{{AppSubUrl}}/ng/js/utils/tabs.js"></script>
|
||||||
<script src="{{AppSubUrl}}/ng/js/utils/preview.js"></script>
|
<script src="{{AppSubUrl}}/ng/js/utils/preview.js"></script>
|
||||||
<script src="{{AppSubUrl}}/ng/js/gogs/issue_label.js"></script>
|
<script src="{{AppSubUrl}}/ng/js/gogs/issue_label.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user