about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/assets/javascripts/services.js1
-rw-r--r--src/pages/popup_src/App.svelte2
-rw-r--r--src/pages/popup_src/components/Switch.svelte2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index c9f391e7..e50b7bfc 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -396,6 +396,7 @@ function rewrite(url, frontend, randomInstance) {
     }
     case "binternet":
       if (url.hostname == "i.pinimg.com") return `${randomInstance}/image_proxy.php?url=${url.href}`
+      return `${randomInstance}${url.pathname}${url.search}`
     case "laboratory": {
       let path = url.pathname
       if (path == "/") path = ""
diff --git a/src/pages/popup_src/App.svelte b/src/pages/popup_src/App.svelte
index 2bd16169..8f958a3e 100644
--- a/src/pages/popup_src/App.svelte
+++ b/src/pages/popup_src/App.svelte
@@ -88,7 +88,7 @@
 
 <style>
   :global(html, body) {
-    width: 280px;
+    min-width: 260px;
     height: min-content;
     min-height: auto;
     margin: 0;
diff --git a/src/pages/popup_src/components/Switch.svelte b/src/pages/popup_src/components/Switch.svelte
index 6485f875..f76e74be 100644
--- a/src/pages/popup_src/components/Switch.svelte
+++ b/src/pages/popup_src/components/Switch.svelte
@@ -27,7 +27,7 @@
 
 <Row>
   <div
-    class="interactive"
+    class="interactive margin margin_{document.body.dir}"
     on:keydown={null}
     on:click={() =>
       browser.tabs.create({ url: browser.runtime.getURL(_config.services[serviceKey].url) }, () => {