best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
fix for picker on ios & popup title line height
wukko2c4efc5a25af
diff --git a/package.json b/package.jsonindex 5f15447a..48e987d6 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "cobalt","description": "save what you love",- "version": "7.1",+ "version": "7.1.1","author": "wukko","exports": "./src/cobalt.js","type": "module",diff --git a/src/front/cobalt.css b/src/front/cobalt.cssindex 2fc7a9d7..8e666dde 100644--- a/src/front/cobalt.css+++ b/src/front/cobalt.css@@ -422,10 +422,10 @@ button:active,border: none;}.popup.small #popup-title {- margin-bottom: 0.2rem;+ margin-bottom: 0.6rem;}.popup.small .explanation {- margin-bottom: 0.8rem;+ margin-bottom: 0.9rem;}#close-error {background: var(--accent);@@ -496,9 +496,11 @@ button:active,}#popup-title {font-size: 1.5rem;- line-height: 1.85em;+ line-height: 1.2em;display: flex;align-items: center;+ margin-bottom: 0.4rem;+ margin-top: 0.4rem;}#popup-above-title {color: var(--accent-subtext);diff --git a/src/front/cobalt.js b/src/front/cobalt.jsindex ece303b5..4ceccc39 100644--- a/src/front/cobalt.js+++ b/src/front/cobalt.js@@ -210,7 +210,7 @@ function popup(type, action, text) {for (let i in text.arr) {eid("picker-holder").innerHTML +=`<a class="picker-image-container" ${- isIOS ? `onClick="share('${text.arr[i]["url"]}')` : `href="${text.arr[i]["url"]}" target="_blank"`+ isIOS ? `onClick="share('${text.arr[i]["url"]}')"` : `href="${text.arr[i]["url"]}" target="_blank"`}>` +`<img class="picker-image" src="${text.arr[i]["url"]}" onerror="this.parentNode.style.display='none'"></img>` +`</a>`