1
0
This commit is contained in:
syui 2024-04-03 23:50:49 +09:00
parent 631c9ca57b
commit 7df9640e8c
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -78,7 +78,7 @@
<span v-for="i in api_json.data" class="comment"> <span v-for="i in api_json.data" class="comment">
<p class="comment-body" v-if="i"> <p class="comment-body" v-if="i">
{{ axios_check('/icon/' + i.did.replace('did:plc:', '') + '.jpg') }} {{ axios_check('/icon/' + i.did.replace('did:plc:', '') + '.jpg') }}
<img :src="'/icon/' + i.did.replace('did:plc:', '') + '.jpg'" v-if="url_check" class="comment"/><img :src="i.avatar" v-else-if="i.avatar" class="comment"/> <span class="comment-time" v-if="i.updated_at"><a :href="i.bsky_url" v-if="i.bsky_url">{{ moment(i.updated_at) }}</a></span> <span class="comment-handle" v-if="i.handle"><a :href="'https://' + i.bsky_url.split('/').slice(2,5).join('/')" v-if="i.bsky_url">@{{ i.handle }}</a></span> <img :src="'/icon/' + i.did.replace('did:plc:', '') + '.jpg'" v-if="url_check" class="comment"/><img :src="i.avatar" v-else-if="i.avatar" class="comment"/> <span class="comment-time" v-if="i.updated_at"><a :href="i.bsky_url" v-if="i.bsky_url">{{ moment(i.updated_at) }}</a></span> <span class="comment-handle" v-if="i.handle"><a :href="'https://' + i.bsky_url.split('/').slice(2,5).join('/')" v-if="i.bsky_url">@{{ i.handle.replace('.bsky.social', '') }}</a></span>
<span class="comment-text" v-if="i.text">{{ i.text }}</span> <span class="comment-text" v-if="i.text">{{ i.text }}</span>
</p> </p>
</span> </span>
@ -299,8 +299,7 @@ table {
word-break: break-all; word-break: break-all;
} }
thead, td, tr, th { .page_data table tbody > thead, td, tr, th {
padding:10px;
background: #fff; background: #fff;
border: solid 1px #fff; border: solid 1px #fff;
padding: 15px 25px 15px 25px; padding: 15px 25px 15px 25px;
@ -311,6 +310,10 @@ th.row {
border:none; border:none;
} }
th.row a img {
width:40px;
}
footer { footer {
text-align: center; text-align: center;
background: #313131; background: #313131;
@ -395,7 +398,7 @@ button.comment_open:hover {
width:100%; width:100%;
} }
.bsky_comment { .bsky_comment {
width:100%; width:auto;
} }
.page_title a img { .page_title a img {
width:100%; width:100%;
@ -411,6 +414,9 @@ button.comment_open:hover {
p.comment-body { p.comment-body {
padding: 5px; padding: 5px;
} }
.page_data table tbody > thead, td, tr, th {
padding:10px;
}
} }
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap') @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap')