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 {
|
.mx_CreateEvent_image {
|
||||||
float: left;
|
float: left;
|
||||||
padding-right: 20px;
|
margin-right: 20px;
|
||||||
width: 72px;
|
width: 72px;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
|
|
||||||
|
background-color: $primary-fg-color;
|
||||||
|
mask: url('$(res)/img/room-continuation.svg');
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
mask-position: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_CreateEvent_header {
|
.mx_CreateEvent_header {
|
||||||
|
|
|
@ -53,7 +53,7 @@ module.exports = React.createClass({
|
||||||
permalinkCreator.load();
|
permalinkCreator.load();
|
||||||
const predecessorPermalink = permalinkCreator.forEvent(predecessor['event_id']);
|
const predecessorPermalink = permalinkCreator.forEvent(predecessor['event_id']);
|
||||||
return <div className="mx_CreateEvent">
|
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">
|
<div className="mx_CreateEvent_header">
|
||||||
{_t("This room is a continuation of another conversation.")}
|
{_t("This room is a continuation of another conversation.")}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue