diff --git a/src/components/AddColumn/PublicTimeline.vue b/src/components/AddColumn/PublicTimeline.vue index 28508f76..5d76f0cd 100644 --- a/src/components/AddColumn/PublicTimeline.vue +++ b/src/components/AddColumn/PublicTimeline.vue @@ -15,37 +15,12 @@
{{value.name}} -
-
-
- - -
-
- {{status.account.display_name}} - @{{status.account.acct}} -
-
-
-
- -
-
-
- - -
-
- -
-
-
+
void @@ -74,7 +51,11 @@ type Timeline = { type Timelines = Timeline[] type UpdateListener = (e: Event, status: Status) => void -@Component +@Component({ + components: { + TimelineToot + } +}) export default class AddColumn extends Vue { public instance: Instance = "" public showInput: boolean = true @@ -176,31 +157,4 @@ export default class AddColumn extends Vue { 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 diff --git a/src/components/Timeline/Toot.vue b/src/components/Timeline/Toot.vue new file mode 100644 index 00000000..de55fd83 --- /dev/null +++ b/src/components/Timeline/Toot.vue @@ -0,0 +1,80 @@ + + + + + \ No newline at end of file diff --git a/src/main/Timeline.ts b/src/main/Timeline.ts index 9adec9e0..ebb42719 100644 --- a/src/main/Timeline.ts +++ b/src/main/Timeline.ts @@ -5,7 +5,6 @@ import { import { Status, Response } from 'megalodon' import Client from './Client' -import Window from './Window' export default class Timeline { public static ready() {