Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit fca5125

Browse files
committed
Improve redacted body look
Signed-off-by: Šimon Brandner <[email protected]>
1 parent bc7a8f8 commit fca5125

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

res/css/views/rooms/_ReplyTile.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ limitations under the License.
2121
padding-bottom: 2px;
2222
font-size: $font-14px;
2323
position: relative;
24-
line-height: 16px;
24+
line-height: $font-16px;
2525
}
2626

2727
.mx_ReplyTile > a {

src/components/views/rooms/ReplyTile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default class ReplyTile extends React.PureComponent<IProps> {
112112
const EventTileType = sdk.getComponent(tileHandler);
113113

114114
const classes = classNames("mx_ReplyTile", {
115-
mx_ReplyTile_info: isInfoMessage,
115+
mx_ReplyTile_info: isInfoMessage && !this.props.mxEvent.isRedacted(),
116116
});
117117

118118
let permalink = "#";

0 commit comments

Comments
 (0)