mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Use a mask for the continuation icon
Fixes https://github.com/vector-im/riot-web/issues/7990
This commit is contained in:
parent
593bd8ff66
commit
8a6ae6b48e
2 changed files with 7 additions and 2 deletions
|
@ -24,9 +24,14 @@ limitations under the License.
|
|||
|
||||
.mx_CreateEvent_image {
|
||||
float: left;
|
||||
padding-right: 20px;
|
||||
margin-right: 20px;
|
||||
width: 72px;
|
||||
height: 34px;
|
||||
|
||||
background-color: $primary-fg-color;
|
||||
mask: url('$(res)/img/room-continuation.svg');
|
||||
mask-repeat: no-repeat;
|
||||
mask-position: center;
|
||||
}
|
||||
|
||||
.mx_CreateEvent_header {
|
||||
|
|
|
@ -53,7 +53,7 @@ module.exports = React.createClass({
|
|||
permalinkCreator.load();
|
||||
const predecessorPermalink = permalinkCreator.forEvent(predecessor['event_id']);
|
||||
return <div className="mx_CreateEvent">
|
||||
<img className="mx_CreateEvent_image" src={require("../../../../res/img/room-continuation.svg")} />
|
||||
<img className="mx_CreateEvent_image" />
|
||||
<div className="mx_CreateEvent_header">
|
||||
{_t("This room is a continuation of another conversation.")}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue