fix: Fixes messages jumping issue for newly created message (#2935)
* fix: Fixes messages jumping issue for newly created message * Fixes border radius issue of messages * Fixes bottom jumping issue * Fixes code climate issue
This commit is contained in:
committed by
GitHub
parent
af1d8c0ee5
commit
a60a33679f
@@ -113,10 +113,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: $space-small;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.unread--toast {
|
&.unread--toast {
|
||||||
|
+.right {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
+.left {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
@include elegant-card;
|
@include elegant-card;
|
||||||
@include round-corner;
|
@include round-corner;
|
||||||
@@ -140,6 +148,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
|
|
||||||
.bubble {
|
.bubble {
|
||||||
@@ -183,6 +192,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+.unread--toast {
|
||||||
|
+.right {
|
||||||
|
margin-top: $space-one;
|
||||||
|
|
||||||
|
.bubble {
|
||||||
|
border-top-right-radius: $space-one;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+.left {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
@@ -226,6 +248,21 @@
|
|||||||
border-top-left-radius: $space-one;
|
border-top-left-radius: $space-one;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+.unread--toast {
|
||||||
|
+.left {
|
||||||
|
margin-top: $space-one;
|
||||||
|
|
||||||
|
.bubble {
|
||||||
|
border-top-left-radius: $space-one;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+.right {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.center {
|
&.center {
|
||||||
|
|||||||
Reference in New Issue
Block a user