Skip to content

Commit 0b7e38f

Browse files
committed
Fixed pinterest. Made popup width dynamic.
1 parent c8ee9fc commit 0b7e38f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/assets/javascripts/services.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ function rewrite(url, frontend, randomInstance) {
396396
}
397397
case "binternet":
398398
if (url.hostname == "i.pinimg.com") return `${randomInstance}/image_proxy.php?url=${url.href}`
399+
return `${randomInstance}${url.pathname}${url.search}`
399400
case "laboratory": {
400401
let path = url.pathname
401402
if (path == "/") path = ""

src/pages/popup_src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
<style>
9090
:global(html, body) {
91-
width: 280px;
91+
min-width: 260px;
9292
height: min-content;
9393
min-height: auto;
9494
margin: 0;

src/pages/popup_src/components/Switch.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<Row>
2929
<div
30-
class="interactive"
30+
class="interactive margin margin_{document.body.dir}"
3131
on:keydown={null}
3232
on:click={() =>
3333
browser.tabs.create({ url: browser.runtime.getURL(_config.services[serviceKey].url) }, () => {

0 commit comments

Comments
 (0)