From 870de09b0e73a6285d6806f68bff0f9ef7a6d91d Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Mon, 20 Mar 2023 02:16:55 +0200 Subject: [PATCH] improve profile viewer --- src/app/molecules/room-profile/RoomProfile.scss | 3 +-- src/app/organisms/profile-viewer/ProfileViewer.scss | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/molecules/room-profile/RoomProfile.scss b/src/app/molecules/room-profile/RoomProfile.scss index 43d7014..0a18c46 100644 --- a/src/app/molecules/room-profile/RoomProfile.scss +++ b/src/app/molecules/room-profile/RoomProfile.scss @@ -2,16 +2,15 @@ @use '../../partials/dir'; .room-profile { - &__content { @extend .cp-fx__row; + align-items: center; & .avatar-container { min-width: var(--av-large); } } &__display { - align-self: flex-end; @include dir.side(margin, var(--sp-loose), 0); & > div:first-child { diff --git a/src/app/organisms/profile-viewer/ProfileViewer.scss b/src/app/organisms/profile-viewer/ProfileViewer.scss index 1401b77..8324ab1 100644 --- a/src/app/organisms/profile-viewer/ProfileViewer.scss +++ b/src/app/organisms/profile-viewer/ProfileViewer.scss @@ -15,10 +15,10 @@ .profile-viewer { &__user { display: flex; + align-items: center; padding-bottom: var(--sp-normal); &__info { - align-self: flex-end; flex: 1; min-width: 0;