Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Use a mask for the continuation icon
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Mar 1, 2019
1 parent 593bd8f commit 8a6ae6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion res/css/views/messages/_CreateEvent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/messages/RoomCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 8a6ae6b

Please sign in to comment.