Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Bigger Tinder Pictures
- // @namespace http://userstyles.org
- // @description This Style makes the Profile Pcitures / Swipe preview bigger
- // @author surtic86
- // @homepage https://userstyles.org/styles/169852
- // @include https://tinder.com/app*
- // @run-at document-start
- // @version 0.20190318161644
- // ==/UserScript==
- (function() {var css = [
- ".recsCardboard {",
- " max-width: calc(100vw - 65vw);",
- " height: calc(100vh - 15vh);",
- " max-height: calc(100vh - 15vh);",
- " }",
- "",
- " .profileCard {",
- " width: calc(100vw - 65vw);;",
- " height: calc(100vh - 15vh);",
- " max-height: calc(100vh - 15vh);",
- " min-height: calc(100vh - 15vh);",
- " }"
- ].join("\n");
- if (typeof GM_addStyle != "undefined") {
- GM_addStyle(css);
- } else if (typeof PRO_addStyle != "undefined") {
- PRO_addStyle(css);
- } else if (typeof addStyle != "undefined") {
- addStyle(css);
- } else {
- var node = document.createElement("style");
- node.type = "text/css";
- node.appendChild(document.createTextNode(css));
- var heads = document.getElementsByTagName("head");
- if (heads.length > 0) {
- heads[0].appendChild(node);
- } else {
- // no head yet, stick it whereever
- document.documentElement.appendChild(node);
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement