This commit is contained in:
xaoxuu 2022-10-30 13:32:50 +08:00
parent 4c2dba5cbb
commit 0116048ec4
2 changed files with 17 additions and 2 deletions

View File

@ -200,4 +200,19 @@
margin: 0.75rem 0
p
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

View File

@ -77,7 +77,7 @@ const StellarTimeline = {
}
var cell = '<div class="timenode" index="' + i + '">';
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 += '<img src="' + item.user.avatar_url + '">';
cell += '<span>' + item.user.login + '</span>';