mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-18 06:09:58 +00:00
fix for picker on ios & popup title line height
This commit is contained in:
parent
fded708d05
commit
2c4efc5a25
3 changed files with 7 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "cobalt",
|
"name": "cobalt",
|
||||||
"description": "save what you love",
|
"description": "save what you love",
|
||||||
"version": "7.1",
|
"version": "7.1.1",
|
||||||
"author": "wukko",
|
"author": "wukko",
|
||||||
"exports": "./src/cobalt.js",
|
"exports": "./src/cobalt.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -422,10 +422,10 @@ button:active,
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
.popup.small #popup-title {
|
.popup.small #popup-title {
|
||||||
margin-bottom: 0.2rem;
|
margin-bottom: 0.6rem;
|
||||||
}
|
}
|
||||||
.popup.small .explanation {
|
.popup.small .explanation {
|
||||||
margin-bottom: 0.8rem;
|
margin-bottom: 0.9rem;
|
||||||
}
|
}
|
||||||
#close-error {
|
#close-error {
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
|
@ -496,9 +496,11 @@ button:active,
|
||||||
}
|
}
|
||||||
#popup-title {
|
#popup-title {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
line-height: 1.85em;
|
line-height: 1.2em;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-bottom: 0.4rem;
|
||||||
|
margin-top: 0.4rem;
|
||||||
}
|
}
|
||||||
#popup-above-title {
|
#popup-above-title {
|
||||||
color: var(--accent-subtext);
|
color: var(--accent-subtext);
|
||||||
|
|
|
@ -210,7 +210,7 @@ function popup(type, action, text) {
|
||||||
for (let i in text.arr) {
|
for (let i in text.arr) {
|
||||||
eid("picker-holder").innerHTML +=
|
eid("picker-holder").innerHTML +=
|
||||||
`<a class="picker-image-container" ${
|
`<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>` +
|
`<img class="picker-image" src="${text.arr[i]["url"]}" onerror="this.parentNode.style.display='none'"></img>` +
|
||||||
`</a>`
|
`</a>`
|
||||||
|
|
Loading…
Reference in a new issue