Delete lozenge effect

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-02 15:35:52 +02:00
parent e582b1559b
commit 0d8f84c769
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
4 changed files with 0 additions and 26 deletions

View file

@ -96,28 +96,6 @@ limitations under the License.
max-width: calc(100% - 65px);
}
.mx_ReplyTile_redacted .mx_UnknownBody {
--lozenge-color: $event-redacted-fg-color;
--lozenge-border-color: $event-redacted-border-color;
display: block;
height: 22px;
width: 250px;
border-radius: 11px;
background:
repeating-linear-gradient(
-45deg,
var(--lozenge-color),
var(--lozenge-color) 3px,
transparent 3px,
transparent 6px
);
box-shadow: 0px 0px 3px var(--lozenge-border-color) inset;
}
.mx_ReplyTile_sending.mx_ReplyTile_redacted .mx_UnknownBody {
opacity: 0.4;
}
.mx_ReplyTile_contextual {
opacity: 0.4;
}

View file

@ -382,7 +382,6 @@ export default class ReplyThread extends React.Component {
mxEvent={ev}
onHeightChanged={this.props.onHeightChanged}
permalinkCreator={this.props.permalinkCreator}
isRedacted={ev.isRedacted()}
isTwelveHour={SettingsStore.getValue("showTwelveHourTimestamps")}
layout={this.props.layout}
alwaysShowTimestamps={this.props.alwaysShowTimestamps}

View file

@ -88,7 +88,6 @@ export default class ReplyPreview extends React.Component {
<div className="mx_ReplyPreview_clear" />
<div className="mx_ReplyPreview_tile">
<ReplyTile
isRedacted={this.state.event.isRedacted()}
mxEvent={this.state.event}
permalinkCreator={this.props.permalinkCreator}
/>

View file

@ -29,7 +29,6 @@ import * as sdk from '../../../index';
interface IProps {
mxEvent: MatrixEvent;
isRedacted?: boolean;
permalinkCreator?: RoomPermalinkCreator;
highlights?: Array<string>;
highlightLink?: string;
@ -108,7 +107,6 @@ export default class ReplyTile extends React.PureComponent<IProps> {
const classes = classNames({
mx_ReplyTile: true,
mx_ReplyTile_info: isInfoMessage,
mx_ReplyTile_redacted: this.props.isRedacted,
});
let permalink = "#";