mirror of https://github.com/vector-im/riot-web
Delete lozenge effect
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
e582b1559b
commit
0d8f84c769
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
@ -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 = "#";
|
||||
|
|
Loading…
Reference in New Issue