Skip to content
Snippets Groups Projects
Commit 1352039a authored by VIktorGrev's avatar VIktorGrev
Browse files

feat: Making myProfile responsive

parent 38758c36
No related branches found
No related tags found
1 merge request!104Feat/profile and settings improvements
Pipeline #285206 passed with warnings
...@@ -168,8 +168,8 @@ const toUpdateUserSettings = () => { ...@@ -168,8 +168,8 @@ const toUpdateUserSettings = () => {
<div class="row d-flex justify-content-center align-items-center h-100"> <div class="row d-flex justify-content-center align-items-center h-100">
<div class="col 12"> <div class="col 12">
<div class="card"> <div class="card">
<div class="rounded-top text-white d-flex flex-row bg-primary justify-content-between" :style="{ <div class="rounded-top text-white d-flex flex-row bg-primary justify-content-between flex-wrap" id="banner" :style="{
height: '200px',
backgroundImage: `url(${bannerImageUrl})`, backgroundImage: `url(${bannerImageUrl})`,
backgroundSize: 'cover', backgroundSize: 'cover',
backgroundRepeat: 'no-repeat' backgroundRepeat: 'no-repeat'
...@@ -180,7 +180,7 @@ const toUpdateUserSettings = () => { ...@@ -180,7 +180,7 @@ const toUpdateUserSettings = () => {
style="width: 150px; height:150px; margin-left: 25px; margin-right: 15px;"> style="width: 150px; height:150px; margin-left: 25px; margin-right: 15px;">
</div> </div>
<h1 data-cy="firstname" style="display: flex; align-items: end; margin-bottom: 20px;">{{ firstname }} {{ <h1 data-cy="firstname" style="display: flex; align-items: end; margin-bottom: 20px;">{{ firstname }} {{
lastname }}</h1> lastname }}</h1>
</div> </div>
<div class="d-flex align-items-end text-white my-3 mx-5"> <div class="d-flex align-items-end text-white my-3 mx-5">
<div class="d-flex align-items-center flex-column"> <div class="d-flex align-items-center flex-column">
...@@ -331,7 +331,13 @@ const toUpdateUserSettings = () => { ...@@ -331,7 +331,13 @@ const toUpdateUserSettings = () => {
} }
#banner { #banner {
background-image: url('/src/assets/banners/stacked.svg'); height: 200px;
}
@media (max-width: 940px) {
#banner {
height: 320px;
}
} }
/*-------*/ /*-------*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment