Message / Document Group: Fix shifted block

This commit is contained in:
Alexander Zinchuk 2021-05-13 12:00:37 +03:00
parent 3cefcd20e2
commit 634d50f0e5

View File

@ -284,7 +284,6 @@
} }
&.is-in-selection-mode { &.is-in-selection-mode {
.Audio:not(.audio-is-selected), .Audio:not(.audio-is-selected),
.File:not(.file-is-selected) { .File:not(.file-is-selected) {
.message-select-control:not(.group-select) { .message-select-control:not(.group-select) {
@ -312,7 +311,7 @@
&::after { &::after {
background: var(--background-color); background: var(--background-color);
border-color: rgba(var(--color-text-green-rgb), 0.5); border-color: var(--color-message-meta-own);
} }
} }
} }
@ -344,6 +343,17 @@
.message-content { .message-content {
transition: background-color var(--select-transition); transition: background-color var(--select-transition);
} }
&.own {
.message-content-wrapper {
display: flex;
justify-content: flex-end;
.message-content {
width: 100%;
}
}
}
} }
.album-item-select-wrapper { .album-item-select-wrapper {