Delete lozenge effect

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Š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); 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 { .mx_ReplyTile_contextual {
opacity: 0.4; opacity: 0.4;
} }

View File

@ -382,7 +382,6 @@ export default class ReplyThread extends React.Component {
mxEvent={ev} mxEvent={ev}
onHeightChanged={this.props.onHeightChanged} onHeightChanged={this.props.onHeightChanged}
permalinkCreator={this.props.permalinkCreator} permalinkCreator={this.props.permalinkCreator}
isRedacted={ev.isRedacted()}
isTwelveHour={SettingsStore.getValue("showTwelveHourTimestamps")} isTwelveHour={SettingsStore.getValue("showTwelveHourTimestamps")}
layout={this.props.layout} layout={this.props.layout}
alwaysShowTimestamps={this.props.alwaysShowTimestamps} 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_clear" />
<div className="mx_ReplyPreview_tile"> <div className="mx_ReplyPreview_tile">
<ReplyTile <ReplyTile
isRedacted={this.state.event.isRedacted()}
mxEvent={this.state.event} mxEvent={this.state.event}
permalinkCreator={this.props.permalinkCreator} permalinkCreator={this.props.permalinkCreator}
/> />

View File

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