timeline
This commit is contained in:
parent
4c2dba5cbb
commit
0116048ec4
|
@ -200,4 +200,19 @@
|
||||||
margin: 0.75rem 0
|
margin: 0.75rem 0
|
||||||
p
|
p
|
||||||
font-size: $fs-13
|
font-size: $fs-13
|
||||||
margin: 0.25rem
|
margin: 0.25rem
|
||||||
|
|
||||||
|
.tag-plugin.timeline .body
|
||||||
|
line-height: 1.5
|
||||||
|
h1,h2
|
||||||
|
font-size: 1.25rem
|
||||||
|
margin: 1rem 0
|
||||||
|
line-height: 1.2
|
||||||
|
h3,h4
|
||||||
|
font-size: 1rem
|
||||||
|
margin: 0.75rem 0
|
||||||
|
line-height: 1.2
|
||||||
|
h5,h6
|
||||||
|
font-size: $fs-15
|
||||||
|
margin: 0.5rem 0
|
||||||
|
line-height: 1.2
|
|
@ -77,7 +77,7 @@ const StellarTimeline = {
|
||||||
}
|
}
|
||||||
var cell = '<div class="timenode" index="' + i + '">';
|
var cell = '<div class="timenode" index="' + i + '">';
|
||||||
cell += '<div class="header">';
|
cell += '<div class="header">';
|
||||||
if (!users.length && item.user) {
|
if (!users.length && item.user && !hide.includes('user')) {
|
||||||
cell += '<a class="user-info" href="' + item.user.html_url + '" target="_blank" rel="external nofollow noopener noreferrer">';
|
cell += '<a class="user-info" href="' + item.user.html_url + '" target="_blank" rel="external nofollow noopener noreferrer">';
|
||||||
cell += '<img src="' + item.user.avatar_url + '">';
|
cell += '<img src="' + item.user.avatar_url + '">';
|
||||||
cell += '<span>' + item.user.login + '</span>';
|
cell += '<span>' + item.user.login + '</span>';
|
||||||
|
|
Loading…
Reference in New Issue