From 4d1c723496655da459d3803d20d11a80a5df7978 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Oct 2021 23:22:20 +0900 Subject: [PATCH] refactor clinet --- src/client/components/modal-page-window.vue | 2 +- src/client/components/page-window.vue | 2 +- src/client/components/ui/folder.vue | 6 - src/client/components/ui/info.vue | 4 - src/client/pages/admin/index.vue | 1 - src/client/pages/messaging/index.vue | 68 +++---- src/client/pages/note.vue | 82 +++++---- src/client/pages/settings/index.vue | 1 - src/client/pages/user/index.timeline.vue | 7 - src/client/pages/user/index.vue | 190 ++++++++++---------- src/client/style.scss | 44 ----- src/client/ui/chat/side.vue | 2 +- src/client/ui/deck/main-column.vue | 2 +- src/client/ui/default.vue | 2 +- src/client/widgets/notifications.vue | 2 +- 15 files changed, 171 insertions(+), 244 deletions(-) diff --git a/src/client/components/modal-page-window.vue b/src/client/components/modal-page-window.vue index cb81a974f..621119294 100644 --- a/src/client/components/modal-page-window.vue +++ b/src/client/components/modal-page-window.vue @@ -10,7 +10,7 @@ -
+
diff --git a/src/client/components/page-window.vue b/src/client/components/page-window.vue index 7d15c75d6..2b77a214c 100644 --- a/src/client/components/page-window.vue +++ b/src/client/components/page-window.vue @@ -16,7 +16,7 @@ -
+
diff --git a/src/client/components/ui/folder.vue b/src/client/components/ui/folder.vue index d0616a57c..3997421d0 100644 --- a/src/client/components/ui/folder.vue +++ b/src/client/components/ui/folder.vue @@ -153,10 +153,4 @@ export default defineComponent({ } } } - -._fitSide_ .ssazuxis { - > header { - padding: 0 16px; - } -} diff --git a/src/client/components/ui/info.vue b/src/client/components/ui/info.vue index e16f2736f..f6b2edf26 100644 --- a/src/client/components/ui/info.vue +++ b/src/client/components/ui/info.vue @@ -42,8 +42,4 @@ export default defineComponent({ margin-right: 4px; } } - -._fitSide_ .fpezltsf { - border-radius: 0; -} diff --git a/src/client/pages/admin/index.vue b/src/client/pages/admin/index.vue index 416e68206..f18c63495 100644 --- a/src/client/pages/admin/index.vue +++ b/src/client/pages/admin/index.vue @@ -343,7 +343,6 @@ export default defineComponent({ > .main { flex: 1; min-width: 0; - --baseContentWidth: 100%; } } diff --git a/src/client/pages/messaging/index.vue b/src/client/pages/messaging/index.vue index fef3b76e1..b3e0b6edd 100644 --- a/src/client/pages/messaging/index.vue +++ b/src/client/pages/messaging/index.vue @@ -2,41 +2,43 @@
-
- {{ $ts.startMessaging }} + +
+ {{ $ts.startMessaging }} -
- -
- -
- {{ message.group.name }} - -
-
- - @{{ acct(isMe(message) ? message.recipient : message.user) }} - -
-
-

{{ $ts.you }}:{{ message.text }}

+
+ +
+ +
+ {{ message.group.name }} + +
+
+ + @{{ acct(isMe(message) ? message.recipient : message.user) }} + +
+
+

{{ $ts.you }}:{{ message.text }}

+
-
- + +
+
+ +
{{ $ts.noHistory }}
+
+
-
- -
{{ $ts.noHistory }}
-
- -
+
@@ -177,7 +179,7 @@ export default defineComponent({ .yweeujhr { > .start { - margin: var(--margin) auto var(--margin) auto; + margin: 0 auto var(--margin) auto; } > .history { diff --git a/src/client/pages/note.vue b/src/client/pages/note.vue index fe85d7364..8e95430d6 100644 --- a/src/client/pages/note.vue +++ b/src/client/pages/note.vue @@ -1,6 +1,6 @@