From 8ad0ff24f8f5422a6c15f7744227a241d789aee8 Mon Sep 17 00:00:00 2001
From: Richard van der Hoff <richard@matrix.org>
Date: Thu, 19 Jan 2017 18:35:43 +0000
Subject: [PATCH] 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 ../..
---
 src/skins/vector/css/themes/_base.scss | 2 +-
 src/skins/vector/css/themes/_dark.scss | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/skins/vector/css/themes/_base.scss b/src/skins/vector/css/themes/_base.scss
index ad18eb49..476cf7e0 100644
--- a/src/skins/vector/css/themes/_base.scss
+++ b/src/skins/vector/css/themes/_base.scss
@@ -88,7 +88,7 @@ $event-notsent-color: #f44;
 // event timestamp
 $event-timestamp-color: #acacac;
 
-$edit-button-url: "/img/icon_context_message.svg";
+$edit-button-url: "../../img/icon_context_message.svg";
 
 // e2e
 $e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color
diff --git a/src/skins/vector/css/themes/_dark.scss b/src/skins/vector/css/themes/_dark.scss
index e3e32e84..0f3b77f5 100644
--- a/src/skins/vector/css/themes/_dark.scss
+++ b/src/skins/vector/css/themes/_dark.scss
@@ -88,7 +88,7 @@ $event-notsent-color: #f44;
 // event timestamp
 $event-timestamp-color: #acacac;
 
-$edit-button-url: "/img/icon_context_message_dark.svg";
+$edit-button-url: "../../img/icon_context_message_dark.svg";
 
 // e2e
 $e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color