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 = () => {
<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;
}
}
/*-------*/
......
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