Skip to content

Commit 4a5c775

Browse files
mykh-hailobackportbot[bot]
authored andcommitted
fix: profile page on small screens
fix: profile page on small screens Signed-off-by: mykh-hailo <kristianderonta0205@gmail.com> [skip ci]
1 parent 3425395 commit 4a5c775

3 files changed

Lines changed: 37 additions & 30 deletions

File tree

apps/profile/src/views/ProfileApp.vue

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,38 @@ $content-max-width: 640px;
369369
}
370370
}
371371
372+
.user-actions {
373+
display: flex;
374+
flex-direction: column;
375+
gap: 8px 0;
376+
margin-top: 20px;
377+
max-width: 300px;
378+
379+
&__primary {
380+
margin: 0 auto;
381+
max-width: 100%;
382+
383+
&__icon {
384+
filter: var(--primary-invert-if-dark);
385+
}
386+
}
387+
388+
&__other {
389+
display: flex;
390+
justify-content: center;
391+
gap: 0 4px;
392+
393+
&__icon {
394+
height: 20px;
395+
width: 20px;
396+
object-fit: contain;
397+
filter: var(--background-invert-if-dark);
398+
align-self: center;
399+
margin: 12px; // so we get 44px x 44px
400+
}
401+
}
402+
}
403+
372404
@media only screen and (max-width: 1024px) {
373405
.profile {
374406
&__header {
@@ -419,37 +451,12 @@ $content-max-width: 640px;
419451
position: unset;
420452
}
421453
}
422-
}
423454
424-
.user-actions {
425-
display: flex;
426-
flex-direction: column;
427-
gap: 8px 0;
428-
margin-top: 20px;
429-
max-width: 300px;
430-
431-
&__primary {
455+
.user-actions {
456+
width: unset;
457+
max-width: 600px;
432458
margin: 0 auto;
433-
max-width: 100%;
434-
435-
&__icon {
436-
filter: var(--primary-invert-if-dark);
437-
}
438-
}
439-
440-
&__other {
441-
display: flex;
442-
justify-content: center;
443-
gap: 0 4px;
444-
445-
&__icon {
446-
height: 20px;
447-
width: 20px;
448-
object-fit: contain;
449-
filter: var(--background-invert-if-dark);
450-
align-self: center;
451-
margin: 12px; // so we get 44px x 44px
452-
}
459+
padding: 20px 50px 0px 50px;
453460
}
454461
}
455462
</style>

dist/profile-profile-main-65fj8xOs.chunk.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/profile-profile-main-YvNfSVUo.chunk.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)