fixed jumping in chat, writecomponent

This commit is contained in:
Kostya
2023-12-09 13:43:38 +03:00
parent fe59112da8
commit 4cbb23c988
2 changed files with 13 additions and 4 deletions

View File

@@ -30,7 +30,16 @@
} }
.chat__content--users { .chat__content--users {
height: 70%; height: 100%;
overflow-y: auto;
}
.chat__content, .chat__content--users {
box-sizing: border-box;
}
.chat__content--users {
margin: 0;
} }
.card__user { .card__user {
@@ -39,7 +48,7 @@
} }
.fade-enter-active, .fade-leave-active { .fade-enter-active, .fade-leave-active {
transition: opacity 0.5s, transform 0.5s; transition: opacity 0.1s, transform 0.1s;
} }
.fade-enter, .fade-leave-to { .fade-enter, .fade-leave-to {
opacity: 0; opacity: 0;

View File

@@ -308,7 +308,7 @@
} }
.write { .write {
position: static; position: static;
margin: 45% 87% 6% 2%; margin: -45% 87% 6% 2%;
} }
.write__content input { .write__content input {
padding: 0.625em 1% 14px 0.75em; padding: 0.625em 1% 14px 0.75em;
@@ -379,7 +379,7 @@
} }
.write { .write {
position: static; position: static;
margin: 45% 87% 6% 2%; margin: -45% 87% 6% 2%;
} }
.write__content input { .write__content input {
padding: 0.625em 1% 14px 0.75em; padding: 0.625em 1% 14px 0.75em;