デザイン調整

This commit is contained in:
Xeltica 2020-07-24 04:07:54 +09:00
parent a18b44e7d6
commit 2db780d982
4 changed files with 11 additions and 8 deletions

View File

@ -6,9 +6,15 @@ mixin note-header(note)
span.name= getUserName(note.user)
span.acct(style="color: gray")= getAcct(note.user)
mixin sub-note(note)
.sub-note
+avatar(note.user)
+note-header(note)
p= note.text
mixin note(note)
if (note.reply)
+note(note.reply)(style="opacity: 0.5")
+sub-note(note.reply)(style="opacity: 0.5")
if (note.renote && !note.text)
p: b 🔁 !{getUserName(note.user)} がRenote
+note(note.renote)
@ -22,10 +28,7 @@ mixin note(note)
!= note.text
if (note.renote)
p RN:
.sub-note
+avatar(note.renote.user)
+note-header(note.renote)
p= note.renote.text
+sub-note(note.renote)
aside
span.visibility= getVisibility(note)
span.date= new Date(note.createdAt).toLocaleString()

View File

@ -2,7 +2,7 @@ extends _base
block content
h2 このノートにリアクションを押しますか?
+note(note)
+sub-note(note)
form(action="action/react", method="post")
each val in reactions
div: label

View File

@ -2,6 +2,6 @@ extends _base
block content
h2 このノートをリノートしますか?
+note(note)
+sub-note(note)
+post-form('action/create-note', "コメント(省略可能)", "リノート")
input(type="hidden", name="renoteId", value=note.id)

View File

@ -2,6 +2,6 @@ extends _base
block content
h2 このノートに返信しますか?
+note(note)
+sub-note(note)
+post-form('action/create-note', "何と返そうか?", "返信")
input(type="hidden", name="replyId", value=note.id)