From b279abaeb45bc852585e61aaeca7f9d2e52b4d3c Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Sun, 18 Jul 2021 16:56:40 +0300 Subject: [PATCH] Fix pinned media message overflow --- src/scss/partials/_chatPinned.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/scss/partials/_chatPinned.scss b/src/scss/partials/_chatPinned.scss index d1774204..2519e82d 100644 --- a/src/scss/partials/_chatPinned.scss +++ b/src/scss/partials/_chatPinned.scss @@ -380,14 +380,14 @@ } } - &.is-floating { - &.is-media { - .pinned-message-title, - .pinned-message-subtitle { - width: calc(100% - 2.25rem); - } + &.is-media { + .pinned-message-title, + .pinned-message-subtitle { + width: calc(100% - 2.25rem); } + } + &.is-floating { .chat:not(.type-discussion) & { .pinned-container-wrapper { padding-right: 3rem;