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
This commit is contained in:
Redblueflame
2021-03-28 18:20:40 +02:00
committed by GitHub
parent 30789ff6e2
commit c7da8c5fd3
7 changed files with 149 additions and 14 deletions

View File

@@ -11,6 +11,10 @@
<NotificationsIcon />
Notifications
</nuxt-link>
<nuxt-link :to="'/dashboard/follows'" class="tab last">
<FollowIcon />
Followed Mods
</nuxt-link>
<nuxt-link
v-if="
$auth.user.role === 'admin' || $auth.user.role === 'moderator'
@@ -39,6 +43,7 @@ import ModIcon from '~/assets/images/sidebar/mod.svg?inline'
import ModerationIcon from '~/assets/images/sidebar/admin.svg?inline'
import SettingsIcon from '~/assets/images/sidebar/settings.svg?inline'
import NotificationsIcon from '~/assets/images/sidebar/notifications.svg?inline'
import FollowIcon from '~/assets/images/utils/heart.svg?inline'
export default {
name: 'DashboardPage',
@@ -47,6 +52,7 @@ export default {
ModerationIcon,
SettingsIcon,
NotificationsIcon,
FollowIcon,
},
}
</script>

View File

@@ -212,6 +212,7 @@ export default {
}
.info {
@extend %column;
flex-grow: 1;
.top {
@extend %row;
flex-wrap: wrap;