From 81e93339b37d36570c595008ddbd85a5f95ae017 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Tue, 11 Apr 2023 13:52:19 -0400 Subject: [PATCH] Improve mobile responsiveness --- src/views/CategoryView.vue | 65 +++++++++++++++++++++++++++----------- 1 file changed, 47 insertions(+), 18 deletions(-) diff --git a/src/views/CategoryView.vue b/src/views/CategoryView.vue index fbc786c..61ba007 100644 --- a/src/views/CategoryView.vue +++ b/src/views/CategoryView.vue @@ -24,7 +24,7 @@ export default { `${protocol}${import.meta.env.VITE_BACKEND_DOMAIN}/api/discover/${game}` ) const rawData = await res.json() - if (rawData.status === "ok") { + if (rawData.status === 'ok') { this.data = rawData.data } else { this.data = { status: 'error' } @@ -56,26 +56,55 @@ export default {
-
- +
+
+ -
-

{{ data.name }}

-
-

Followers: {{ abbreviate(data.followers) }}

-

Viewers: {{ abbreviate(data.viewers) }}

+
+

{{ data.name }}

+ +
- -
    -
  • - {{ - tag - }} -
  • -
- -

{{ data.description }}

+ +
+
+
+

Followers: {{ abbreviate(data.followers) }}

+

Viewers: {{ abbreviate(data.viewers) }}

+
+ +
    +
  • + {{ tag }} +
  • +
+
+
+

{{ data.description }}