1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-01 13:11:10 +03:00

Fix redacted messages (again)

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-02 15:09:02 +02:00
parent 2308ed6c8e
commit e582b1559b
2 changed files with 10 additions and 3 deletions

View File

@@ -20,8 +20,6 @@ limitations under the License.
padding-left: 20px;
position: relative;
line-height: 2.2rem;
&::before {
height: 14px;
width: 14px;
@@ -32,7 +30,7 @@ limitations under the License.
mask-size: contain;
content: '';
position: absolute;
top: 4px;
top: 1px;
left: 0;
}
}

View File

@@ -31,6 +31,15 @@ limitations under the License.
color: $primary-fg-color;
}
.mx_ReplyTile > .mx_RedactedBody {
padding: 18px;
&::before {
height: 13px;
width: 13px;
}
}
// We do reply size limiting with CSS to avoid duplicating the TextualBody component.
.mx_ReplyTile .mx_EventTile_content {
$reply-lines: 2;