From 4309344d8a937979cd339534443219bfeb2c8dcc Mon Sep 17 00:00:00 2001 From: syui Date: Mon, 15 Apr 2024 07:27:35 +0900 Subject: [PATCH] add embed --- public/index.html | 1 + src/App.vue | 54 +++++++++++++++++++++++------------------------ 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/public/index.html b/public/index.html index f8b9bb2..a7b59fb 100644 --- a/public/index.html +++ b/public/index.html @@ -15,6 +15,7 @@
+ diff --git a/src/App.vue b/src/App.vue index ef95859..290ccab 100644 --- a/src/App.vue +++ b/src/App.vue @@ -58,36 +58,26 @@
-
- - -

- {{ moment(comment_first.updated_at) }} @{{ comment_first.handle }} - {{ comment_first.text }} -

-
- -
-

- post -

-

- -

- +
+

comment

— ai (@yui.syui.ai) Apr 2, 2024 at 23:09
+
-
- -

- {{ axios_check('/icon/' + i.did.replace('did:plc:', '') + '.jpg') }} - {{ moment(i.updated_at) }} @{{ i.handle.replace('.bsky.social', '') }} - {{ i.text }} -

-
-
-
+
+
+
+ +
+ +

+ {{ axios_check('/icon/' + i.did.replace('did:plc:', '') + '.jpg') }} + {{ moment(i.updated_at) }} @{{ i.handle.replace('.bsky.social', '') }} + {{ i.text }} +

+
+
+
@@ -382,6 +372,13 @@ button.comment_open:hover { border: solid 1px #eee; } +.bsky_comment_embed { + background-color: #fff; + width: 600px; + margin: 0px auto; + border: none; +} + .comment { background-color: #fff; } @@ -393,6 +390,9 @@ button.comment_open:hover { .bsky_comment { width:auto; } + .bsky_comment_embed { + width:auto; + } .page_title a img { width:100%; }