From 517983d86a0ab64b4d542bcac4a34ed70a1e8f3f Mon Sep 17 00:00:00 2001 From: Titus Kristiansen <titusk@stud.ntnu.no> Date: Mon, 2 May 2022 11:23:25 +0200 Subject: [PATCH] Large profile card styling --- src/components/UserProfileComponents/LargeProfileCard.vue | 2 +- src/views/UserProfileViews/ProfileView.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/UserProfileComponents/LargeProfileCard.vue b/src/components/UserProfileComponents/LargeProfileCard.vue index 6ecef8f..4b88012 100644 --- a/src/components/UserProfileComponents/LargeProfileCard.vue +++ b/src/components/UserProfileComponents/LargeProfileCard.vue @@ -1,6 +1,6 @@ <template> <div - class="w-full max-w-xl m-auto md:ring-1 ring-gray-300 overflow-hidden rounded-xl mt-[10%] p-6" + class="w-full max-w-xl m-auto md:ring-1 ring-gray-300 overflow-hidden rounded-xl p-4" > <div v-show="isCurrentUser" class="float-right px-4 pt-4"> <button diff --git a/src/views/UserProfileViews/ProfileView.vue b/src/views/UserProfileViews/ProfileView.vue index b44558f..430082e 100644 --- a/src/views/UserProfileViews/ProfileView.vue +++ b/src/views/UserProfileViews/ProfileView.vue @@ -1,6 +1,6 @@ <template> <div> - <large-profile-card :isCurrentUser="true" class="align-top" /> + <LargeProfileCard :isCurrentUser="true" class="md:mt-8" /> </div> </template> -- GitLab