From c4331d18204a9229ab37e483bc5053058e7b19ae Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 14 Mar 2024 13:28:47 +0300 Subject: Made Settings page more responsive --- src/pages/stylesheets/styles.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/pages/stylesheets') diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css index 2aa52d57..5de72477 100644 --- a/src/pages/stylesheets/styles.css +++ b/src/pages/stylesheets/styles.css @@ -375,19 +375,27 @@ input:disabled { cursor: not-allowed; } - @media (max-width: 1250px) { body.option { flex-direction: column; - width: 750px; + width: 95vw; align-items: center; + padding: 40px 0px; } section.links { flex-direction: row; - width: 750px; + width: 95vw; padding: 0 55px; } + + section.block-option { + width: 95vw; + } + + div.checklist div x { + overflow: hidden; + } } html.mobile img, -- cgit 1.4.1 From b9b2a53fd38a6573231ceee86b2c9ab2b55003e7 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 14 Mar 2024 14:03:10 +0300 Subject: Added Soprano https://github.com/libredirect/browser_extension/issues/888 --- src/assets/images/tenor-icon.svg | 51 ++++++++++++++++++++++++++++++++++++++ src/assets/javascripts/services.js | 1 + src/config.json | 20 +++++++++++++++ src/pages/stylesheets/styles.css | 2 +- 4 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 src/assets/images/tenor-icon.svg (limited to 'src/pages/stylesheets') diff --git a/src/assets/images/tenor-icon.svg b/src/assets/images/tenor-icon.svg new file mode 100644 index 00000000..8cdc1214 --- /dev/null +++ b/src/assets/images/tenor-icon.svg @@ -0,0 +1,51 @@ + +TENOR_VECTORCreated with Sketch. diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index 96595fda..dceb1c2d 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -718,6 +718,7 @@ const defaultInstances = { 'wikiless': ['https://wikiless.org'], 'suds': ['https://sd.vern.cc'], 'unfunny': ['https://uf.vern.cc'], + 'soprano': ['https://sp.vern.cc'], 'waybackClassic': ['https://wayback-classic.net'], 'gothub': ['https://gh.odyssey346.dev'], 'mikuInvidious': ['https://mikuinv.resrv.org'], diff --git a/src/config.json b/src/config.json index 808a32b9..cf4ed558 100644 --- a/src/config.json +++ b/src/config.json @@ -737,6 +737,26 @@ "imageType": "svg", "url": "https://ifunny.co" }, + "tenor": { + "frontends": { + "soprano": { + "name": "Soprano", + "instanceList": true, + "url": "https://git.vern.cc/cobra/Soprano" + } + }, + "targets": [ + "^https?:\\/{2}(www\\.)?tenor\\.com\\/" + ], + "name": "Tenor", + "options": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "soprano" + }, + "imageType": "svg", + "url": "https://tenor.com" + }, "urbanDictionary": { "frontends": { "ruralDictionary": { diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css index 5de72477..e3212a66 100644 --- a/src/pages/stylesheets/styles.css +++ b/src/pages/stylesheets/styles.css @@ -131,7 +131,7 @@ section.links { flex-wrap: wrap; flex-direction: column; width: 350px; - max-height: 930px; + max-height: 970px; } section.links div { -- cgit 1.4.1