Add space for the stroke on message editor on IRC layout (#9030)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
t3chguy/dedup-icons-17oct
Suguru Hirahara 2022-07-11 21:19:49 +00:00 committed by GitHub
parent 3abf8a1d51
commit 2587aa1369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -16,12 +16,14 @@ limitations under the License.
*/
.mx_EditMessageComposer {
--EditMessageComposer-padding-inline: 3px;
display: flex;
flex-direction: column;
max-width: 100%; // disable overflow
width: auto;
gap: 5px;
padding: 3px;
padding: 3px var(--EditMessageComposer-padding-inline);
.mx_BasicMessageComposer_input {
border-radius: 4px;

View File

@ -260,6 +260,13 @@ $left-gutter: 64px;
.mx_ReplyTile .mx_EventTileBubble {
left: unset; // Cancel the value specified above for the tile inside ReplyTile
}
&.mx_EventTile_isEditing > .mx_EventTile_line {
.mx_EditMessageComposer {
// add space for the stroke on box-shadow
padding-inline-start: calc($selected-message-border-width + var(--EditMessageComposer-padding-inline));
}
}
}
&[data-layout=group] {