From ba5350bf59e12474c5875ac63af804a19274712b Mon Sep 17 00:00:00 2001 From: Cutls Date: Wed, 24 Apr 2019 23:48:26 +0900 Subject: [PATCH] Add: show timelines with some format --- src/components/AddColumn/PublicTimeline.vue | 171 ++++++++++++++------ 1 file changed, 125 insertions(+), 46 deletions(-) diff --git a/src/components/AddColumn/PublicTimeline.vue b/src/components/AddColumn/PublicTimeline.vue index 583dca21..5793a664 100644 --- a/src/components/AddColumn/PublicTimeline.vue +++ b/src/components/AddColumn/PublicTimeline.vue @@ -14,7 +14,38 @@
{{value.name}} -
{{status.id}}
+ +
+
+
+ + +
+
+ {{status.account.display_name}} + @{{status.account.acct}} +
+
+
+
+ +
+
+
+ + +
+
+ +
+
+
= @@ -143,4 +195,31 @@ input { height: 100%; flex-grow: 4; } +.toot { + text-align: left; + display: grid; + grid-template-columns: 43px 2fr 1fr; + grid-template-areas: "avatar user user" "avatar content content" "avatar media media" "avatar card card" "avatar action action"; + .tootAvatar { + grid-area: avatar; + img{ + width:100%; + } + } + .tootUser { + grid-area: user; + } + .tootContent { + grid-area: content; + } + .tootMedia { + grid-area: media; + } + .tootCard { + grid-area: card; + } + .tootAction { + grid-area: card; + } +} \ No newline at end of file