web: two board columns on a phone, as the Android app has
CI & Build / Python lint (push) Successful in 3s
CI & Build / Build now, or wait for Android? (push) Successful in 3s
Android / Build, or is the channel already serving this? (push) Successful in 3s
Android / Core and FFI clippy and tests (push) Skipped
Android / Kotlin + Rust (APK) (push) Skipped
Android / Build the server image (push) Skipped
Desktop (Tauri) / Build, or is the channel already serving this? (push) Successful in 5s
CI & Build / Web typecheck and unit tests (push) Successful in 11s
CI & Build / Python tests (push) Successful in 18s
CI & Build / integration (push) Successful in 1m22s
CI & Build / Build & push image (push) Successful in 47s
Desktop (Tauri) / Web tests, clippy, Rust tests and rustfmt (push) Successful in 2m11s
Desktop (Tauri) / Windows installer (cross-compiled) (push) Successful in 2m26s
Desktop (Tauri) / Tauri desktop (Linux) (push) Successful in 3m8s
Desktop (Tauri) / Update manifest (push) Successful in 3s

The board was one column below 640px, so on a phone it read as a list
while the app showed two. It is now two columns from the smallest width,
with an 8px gap there (16px from sm up). Two columns at 16px on a 390px
screen would leave ~170px cards. NoteCard's bottom margin, the vertical
half of the gap, tightens with it.

NoteGrid is the only place the board's columns are defined, so board,
search, timeline and reminders all change together.

Fill order is untouched. CSS columns fill top to bottom, so note #2 sits
under #1 rather than beside it, unlike Android. That is left until it has
been looked at on a phone, as #2950 recommends.

Scribe #2950.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 08:32:16 -04:00
co-authored by Claude Opus 5.5
parent 87725ecab7
commit 8cdb36dc2a
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ const tagColors = computed<Record<string, string>>(() => {
<template>
<div
ref="root"
class="group relative mb-4 break-inside-avoid rounded-xl border border-[#b8b8b8] p-3 shadow-sm transition hover:shadow-md dark:border-[#404040]"
class="group relative mb-2 break-inside-avoid sm:mb-4 rounded-xl border border-[#b8b8b8] p-3 shadow-sm transition hover:shadow-md dark:border-[#404040]"
:class="[
NOTE_CARD_SURFACE,
dragging ? 'opacity-40' : '',
+6 -2
View File
@@ -35,12 +35,16 @@ defineEmits<{
<template>
<!-- `board` is the transition name defined in style.css; `appear` covers first
paint so a lens arrives eased rather than snapping in. -->
paint so a lens arrives eased rather than snapping in.
Two columns even on a phone, as the Android board has (Scribe #2950): one
column made a phone's board a list. The gap tightens to match there, since
two columns at 16px on a 390px screen leave ~170px cards. NoteCard's
bottom margin is the vertical half of this gap and moves with it. -->
<TransitionGroup
tag="div"
name="board"
appear
class="columns-1 gap-4 sm:columns-2 lg:columns-3 xl:columns-4"
class="columns-2 gap-2 sm:gap-4 lg:columns-3 xl:columns-4"
>
<NoteCard
v-for="n in notes"