You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-03 00:33:22 +03:00 
			
		
		
		
	Fix redacted messages (again)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
		@@ -20,8 +20,6 @@ limitations under the License.
 | 
				
			|||||||
    padding-left: 20px;
 | 
					    padding-left: 20px;
 | 
				
			||||||
    position: relative;
 | 
					    position: relative;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    line-height: 2.2rem;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    &::before {
 | 
					    &::before {
 | 
				
			||||||
        height: 14px;
 | 
					        height: 14px;
 | 
				
			||||||
        width: 14px;
 | 
					        width: 14px;
 | 
				
			||||||
@@ -32,7 +30,7 @@ limitations under the License.
 | 
				
			|||||||
        mask-size: contain;
 | 
					        mask-size: contain;
 | 
				
			||||||
        content: '';
 | 
					        content: '';
 | 
				
			||||||
        position: absolute;
 | 
					        position: absolute;
 | 
				
			||||||
        top: 4px;
 | 
					        top: 1px;
 | 
				
			||||||
        left: 0;
 | 
					        left: 0;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,15 @@ limitations under the License.
 | 
				
			|||||||
    color: $primary-fg-color;
 | 
					    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.
 | 
					// We do reply size limiting with CSS to avoid duplicating the TextualBody component.
 | 
				
			||||||
.mx_ReplyTile .mx_EventTile_content {
 | 
					.mx_ReplyTile .mx_EventTile_content {
 | 
				
			||||||
    $reply-lines: 2;
 | 
					    $reply-lines: 2;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user