From c7da8c5fd327c4009c58c8730618bf47c6f3a508 Mon Sep 17 00:00:00 2001 From: Redblueflame Date: Sun, 28 Mar 2021 18:20:40 +0200 Subject: [PATCH] Follow page, and edit button consistency (#123) * WIP: Added base for follow page * Updated style for moderation page, and added label for unfollow button (not sure about that one) * Fixed overflow issue, and width of element * Updated npm to restore the package-lock.json file --- assets/styles/components.scss | 1 + components/DashboardPage.vue | 6 ++ components/ProjectCard.vue | 1 + package-lock.json | 1 + pages/dashboard/follows.vue | 111 +++++++++++++++++++++++++++++++++ pages/dashboard/moderation.vue | 36 +++++++---- pages/dashboard/projects.vue | 7 ++- 7 files changed, 149 insertions(+), 14 deletions(-) create mode 100644 pages/dashboard/follows.vue diff --git a/assets/styles/components.scss b/assets/styles/components.scss index 9ef21441a..85a731baa 100644 --- a/assets/styles/components.scss +++ b/assets/styles/components.scss @@ -309,6 +309,7 @@ } .button { + //width: max-content; margin: auto 0; padding: 6px 20px; border-radius: var(--size-rounded-control); diff --git a/components/DashboardPage.vue b/components/DashboardPage.vue index cf5746df6..efce252e7 100644 --- a/components/DashboardPage.vue +++ b/components/DashboardPage.vue @@ -11,6 +11,10 @@ Notifications + + + Followed Mods + + +
+

Followed mods

+
+ +
+ +
+
+
+ + + + + diff --git a/pages/dashboard/moderation.vue b/pages/dashboard/moderation.vue index d216760b1..90d347ef2 100644 --- a/pages/dashboard/moderation.vue +++ b/pages/dashboard/moderation.vue @@ -22,18 +22,20 @@ :status="mod.status" :is-modrinth="true" > - - +
+ + +

Reports

@@ -145,7 +147,14 @@ export default {