mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
Merge pull request #2737 from matrix-org/travis/continuation-icon
Use a mask for the continuation icon
This commit is contained in:
commit
ead73ee7b7
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")} />
|
||||
<div 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