From 2c4efc5a25af9c005c8e03cf6e03bd1bee490448 Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 21 Aug 2023 23:40:37 +0600 Subject: [PATCH] fix for picker on ios & popup title line height --- package.json | 2 +- src/front/cobalt.css | 8 +++++--- src/front/cobalt.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 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.css index 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.js index 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 += `` + `` + ``