From 6a9187c1baa9aabf2bbbf49e950b2960783ce285 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 16 Feb 2021 18:21:44 +0900 Subject: [PATCH] wip --- src/client/components/ui/modal.vue | 4 +- src/client/ui/chat/index.vue | 118 ++++++++++++++++++++--------- src/client/ui/chat/timeline.vue | 39 +++++++++- 3 files changed, 122 insertions(+), 39 deletions(-) diff --git a/src/client/components/ui/modal.vue b/src/client/components/ui/modal.vue index 0d1038dce9..69a83e002c 100644 --- a/src/client/components/ui/modal.vue +++ b/src/client/components/ui/modal.vue @@ -98,11 +98,11 @@ export default defineComponent({ } } else { if (left + width - window.pageXOffset > window.innerWidth) { - left = window.innerWidth - width + window.pageXOffset; + left = window.innerWidth - width + window.pageXOffset - 1; } if (top + height - window.pageYOffset > window.innerHeight) { - top = window.innerHeight - height + window.pageYOffset; + top = window.innerHeight - height + window.pageYOffset - 1; } } diff --git a/src/client/ui/chat/index.vue b/src/client/ui/chat/index.vue index 0d18d428ce..a54e5f97ff 100644 --- a/src/client/ui/chat/index.vue +++ b/src/client/ui/chat/index.vue @@ -6,11 +6,14 @@
- + + + +
@@ -18,44 +21,52 @@
{{ $ts.timeline }}
{{ $ts._timelines.home }} - {{ $ts._timelines.local }} - {{ $ts._timelines.social }} - {{ $ts._timelines.global }} -
-
-
-
{{ $ts.lists }}
-
- {{ list.name }} -
-
-
-
{{ $ts.antennas }}
-
- {{ antenna.name }} + {{ $ts._timelines.local }} + {{ $ts._timelines.social }} + {{ $ts._timelines.global }}
-
{{ $ts.channel }} ({{ $ts.following }})
+
{{ $ts.channel }} ({{ $ts.following }})
{{ channel.name }}
-
{{ $ts.channel }}
+
{{ $ts.channel }}
{{ channel.name }}
+
+
{{ $ts.lists }}
+
+ {{ list.name }} +
+
+
+
{{ $ts.antennas }}
+
+ {{ antenna.name }} +
+
+
+
+ {{ $ts.favorites }} +
+
@@ -68,7 +79,7 @@
{{ $ts._timelines.home }}