Skip to content

Commit 2f6abd4

Browse files
bvnaik05mergify[bot]
authored andcommitted
fix: align profile name with avatar and edit button
(cherry picked from commit f2179cd)
1 parent 0a58bc8 commit 2f6abd4

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎frontend/src/pages/Profile.vue‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,22 @@
2727
:open-to="profile.data.open_to"
2828
/>
2929
</div>
30-
<div class="ms-6 mt-5">
30+
<div class="mt-5 md:mt-0 md:ms-6 text-center md:text-start">
3131
<h1 class="text-4xl-semibold text-ink-gray-9">
3232
{{ profile.data.full_name }}
3333
</h1>
34-
<div class="text-base text-ink-gray-7 mt-1">
34+
<div
35+
v-if="profile.data.headline"
36+
class="text-base text-ink-gray-7 mt-1"
37+
>
3538
{{ profile.data.headline }}
3639
</div>
3740
<ProfileSocialLinks
41+
v-if="
42+
profile.data.twitter ||
43+
profile.data.linkedin ||
44+
profile.data.github
45+
"
3846
:twitter="profile.data.twitter"
3947
:linkedin="profile.data.linkedin"
4048
:github="profile.data.github"

0 commit comments

Comments
 (0)