mevebu 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,7 +130,7 @@ function masthead() {
130
130
  el(
131
131
  "div",
132
132
  { class: "mx-[var(--margin)] flex h-[var(--bar)] items-center gap-[clamp(14px,3vw,32px)]" },
133
- el("a", { class: "inline-flex flex-none items-center gap-2.5 text-lg font-bold tracking-[-0.01em] text-ink no-underline", href: "#/" },
133
+ el("a", { class: "inline-flex min-h-11 flex-none items-center gap-2.5 text-lg font-bold tracking-[-0.01em] text-ink no-underline", href: "#/" },
134
134
  el("img", { class: "block size-[30px] rounded-[9px] shadow-[0_0_0_1px_var(--orbit)]", src: "./icon.png", alt: "", width: "30", height: "30" }), "mevebu"),
135
135
  nav,
136
136
  el("div", { class: "flex items-center gap-0.5 max-[45rem]:ms-auto" }, searchButton(), themeBtn, menuBtn)
@@ -259,7 +259,9 @@ function footer() {
259
259
  },
260
260
  });
261
261
 
262
- const FOOT_LINK = "text-sm text-ink-2 no-underline hover:text-jade";
262
+ // A finger needs 44px on a phone, so the whole list is a comfortable target
263
+ // there. The desktop row stays as it was, at text height.
264
+ const FOOT_LINK = "inline-flex items-center text-sm text-ink-2 no-underline hover:text-jade max-[45rem]:min-h-11";
263
265
  const group = (title, links) =>
264
266
  el(
265
267
  "div",
@@ -280,7 +282,7 @@ function footer() {
280
282
  el(
281
283
  "div",
282
284
  { class: "grid gap-1.5" },
283
- el("a", { class: "inline-flex items-center gap-[9px] text-md font-bold tracking-[-0.01em] text-ink no-underline", href: "#/" },
285
+ el("a", { class: "inline-flex min-h-11 items-center gap-[9px] text-md font-bold tracking-[-0.01em] text-ink no-underline", href: "#/" },
284
286
  el("img", { class: "block size-[34px] rounded-[11px] shadow-[0_0_0_1px_var(--orbit)]", src: "./icon.png", alt: "", width: "34", height: "34" }), "mevebu"),
285
287
  el("p", { class: "m-0 max-w-[30ch] text-sm leading-[1.5] text-ink-3" }, "Small tools that run in your browser. No accounts, no uploads, no tracking.")
286
288
  ),
@@ -315,7 +317,7 @@ function footer() {
315
317
  { class: "m-0 flex items-center gap-2" },
316
318
  el("button", {
317
319
  class:
318
- "inline-flex min-h-7 cursor-pointer items-center gap-1.5 rounded-full border border-orbit bg-transparent px-2.5 py-[3px] font-sans text-2xs tabular-nums text-ink-3 transition-colors duration-150 hover:border-orbit-hard hover:text-ink data-[new]:border-jade data-[new]:bg-jade-soft data-[new]:font-semibold data-[new]:text-jade data-[new]:hover:bg-jade data-[new]:hover:text-on-jade",
320
+ "inline-flex min-h-7 cursor-pointer items-center gap-1.5 rounded-full border border-orbit bg-transparent px-2.5 py-[3px] font-sans text-2xs tabular-nums text-ink-3 transition-colors duration-150 hover:border-orbit-hard hover:text-ink data-[new]:border-jade data-[new]:bg-jade-soft data-[new]:font-semibold data-[new]:text-jade data-[new]:hover:bg-jade data-[new]:hover:text-on-jade max-[45rem]:min-h-11",
319
321
  id: "version",
320
322
  type: "button",
321
323
  title: "Check for updates",
@@ -1558,6 +1558,9 @@
1558
1558
  .max-\[45rem\]\:inline-flex {
1559
1559
  display: inline-flex;
1560
1560
  }
1561
+ .max-\[45rem\]\:min-h-11 {
1562
+ min-height: calc(var(--spacing) * 11);
1563
+ }
1561
1564
  .max-\[45rem\]\:\[grid-template-columns\:minmax\(0\,1fr\)_62px\] {
1562
1565
  grid-template-columns: minmax(0,1fr) 62px;
1563
1566
  }
@@ -742,7 +742,7 @@ export function blank(iconName, text) {
742
742
  // ---------- version ----------
743
743
 
744
744
  // Kept in one place. The CLI reads the same value from package.json.
745
- export const VERSION = "1.4.1";
745
+ export const VERSION = "1.4.2";
746
746
  export const PACKAGE_NAME = "mevebu";
747
747
  export const REPO_SLUG = "mevebu/mevebu";
748
748
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mevebu",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Small tools that run in your browser. No accounts, no uploads, no tracking.",
5
5
  "license": "MIT",
6
6
  "type": "module",