Skip to content

Commit 8ad0ff2

Browse files
committed
Fix link to image for event options menu
This has to be relative, because we don't know if riot is going to be mounted at the top-level of the domain or not (it's not, on riot.im). Links are relative to the final location of the CSS, which is under bundles/<hash>, so need ../..
1 parent 3645076 commit 8ad0ff2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/skins/vector/css/themes/_base.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ $event-notsent-color: #f44;
8888
// event timestamp
8989
$event-timestamp-color: #acacac;
9090

91-
$edit-button-url: "/img/icon_context_message.svg";
91+
$edit-button-url: "../../img/icon_context_message.svg";
9292

9393
// e2e
9494
$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color

‎src/skins/vector/css/themes/_dark.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ $event-notsent-color: #f44;
8888
// event timestamp
8989
$event-timestamp-color: #acacac;
9090

91-
$edit-button-url: "/img/icon_context_message_dark.svg";
91+
$edit-button-url: "../../img/icon_context_message_dark.svg";
9292

9393
// e2e
9494
$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color

0 commit comments

Comments
 (0)