diff --git a/src/components/UserProfile/MyProfile.vue b/src/components/UserProfile/MyProfile.vue index e91e5b3ed86ef2458e70f8c9616e9d8f40de72f0..c6922f1e76d0649955d0cbb62dc664869227b34c 100644 --- a/src/components/UserProfile/MyProfile.vue +++ b/src/components/UserProfile/MyProfile.vue @@ -168,8 +168,8 @@ const toUpdateUserSettings = () => { <div class="row d-flex justify-content-center align-items-center h-100"> <div class="col 12"> <div class="card"> - <div class="rounded-top text-white d-flex flex-row bg-primary justify-content-between" :style="{ - height: '200px', + <div class="rounded-top text-white d-flex flex-row bg-primary justify-content-between flex-wrap" id="banner" :style="{ + backgroundImage: `url(${bannerImageUrl})`, backgroundSize: 'cover', backgroundRepeat: 'no-repeat' @@ -180,7 +180,7 @@ const toUpdateUserSettings = () => { style="width: 150px; height:150px; margin-left: 25px; margin-right: 15px;"> </div> <h1 data-cy="firstname" style="display: flex; align-items: end; margin-bottom: 20px;">{{ firstname }} {{ - lastname }}</h1> + lastname }}</h1> </div> <div class="d-flex align-items-end text-white my-3 mx-5"> <div class="d-flex align-items-center flex-column"> @@ -331,7 +331,13 @@ const toUpdateUserSettings = () => { } #banner { - background-image: url('/src/assets/banners/stacked.svg'); + height: 200px; +} + +@media (max-width: 940px) { + #banner { + height: 320px; +} } /*-------*/