mirror of
https://github.com/PaiGramTeam/luoxu-api-pub.git
synced 2024-11-25 17:35:39 +00:00
minor cleanup and fixes
This commit is contained in:
parent
e1f15e46b0
commit
79ac1e1c69
@ -46,15 +46,13 @@
|
||||
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<div class="message">
|
||||
<div class="message">
|
||||
<img src="{getContext('LUOXU_URL')}/avatar/{msg.from_id}.jpg" height="64" width="64" alt="{msg.from_name} 的头像"/>
|
||||
<div>
|
||||
<div class="name">{msg.from_name}</div>
|
||||
<div class="body"><pre>{msg.text}</pre></div>
|
||||
<div class="name">{msg.from_name || ' '}</div>
|
||||
<pre>{msg.text}</pre>
|
||||
<div class="time"><a href="tg://resolve?domain={group}&post={msg.id}"><time datetime={iso_date} title={title}>{relative_dt}</time></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
@ -67,11 +65,6 @@
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
}
|
||||
.message::after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
img {
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
@ -80,7 +73,7 @@
|
||||
color: #1e90ff;
|
||||
}
|
||||
pre {
|
||||
white-space: break-spaces;
|
||||
white-space: pre-wrap;
|
||||
margin: 0.2em 0;
|
||||
}
|
||||
.time {
|
||||
|
Loading…
Reference in New Issue
Block a user