Add room profile comp

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura
2021-12-22 20:17:01 +05:30
parent 23c430fadc
commit 8eda0aeab3
2 changed files with 232 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
@use '../../partials/flex';
@use '../../partials/dir';
.room-profile {
&__content {
@extend .cp-fx__row;
& .avatar-container {
min-width: var(--av-large);
}
}
&__display {
align-self: flex-end;
@include dir.side(margin, var(--sp-loose), 0);
& > div:first-child {
@extend .cp-fx__row--s-c;
& > .text {
@include dir.side(margin, 0, var(--sp-extra-tight));
}
}
& > *:last-child {
margin-top: var(--sp-ultra-tight);
white-space: pre-wrap;
word-break: break-word;
}
}
&__edit-form {
@extend .cp-fx__item-one;
@include dir.side(margin, var(--sp-loose), 0);
& .input-container {
margin-bottom: var(--sp-extra-tight);
}
& > .text {
margin-bottom: var(--sp-tight);
}
& > *:last-child {
@extend .cp-fx__item-one;
@extend .cp-fx__row;
margin-top: var(--sp-tight);
.btn-primary {
@include dir.side(margin, 0, var(--sp-tight));
}
}
}
}