Width (Narrow/Wide/Full) changes the card's length outside focus mode #286

Closed
opened 2026-10-14 13:39:59 +00:00 by kayg · 2 comments
Owner

kayg (2026-10-14, desktop, Card mode with a photo backdrop): "Even though Narrow / Wide / Full is supposed to be for width, the card becomes shorter? It works as intended in focus mode but not otherwise. The width should only affect the width of the document surface, while it also affects length, which is wrong! No matter focus mode or not."

Seen: outside focus mode, the card's height follows its content. Narrow makes lines wrap, so the card grows taller; Wide makes it shorter. The surface jumps in length when you change the width.

Wanted: Width changes only the card's width. Its length stays the same in every width, in focus mode or not. Outside focus mode the card should fill the editor pane's height the same way focus mode does (with the same top and bottom margins), and grow beyond that only when the note is longer. The switch animates only the width (springy, in place); keyboard changes are instant.

Check:

  • Narrow, Wide and Full at 900 and 1440, light and dark, in Card and Page mode, with and without focus mode, with a short note (like today's daily note) and a long one.
  • Phones are unaffected (one width, per G13).
  • Post screenshots and a frame strip of the switch.
kayg (2026-10-14, desktop, Card mode with a photo backdrop): "Even though Narrow / Wide / Full is supposed to be for width, the card becomes shorter? It works as intended in focus mode but not otherwise. The width should only affect the width of the document surface, while it also affects length, which is wrong! No matter focus mode or not." **Seen:** outside focus mode, the card's height follows its content. Narrow makes lines wrap, so the card grows taller; Wide makes it shorter. The surface jumps in length when you change the width. **Wanted:** Width changes only the card's width. Its length stays the same in every width, in focus mode or not. Outside focus mode the card should fill the editor pane's height the same way focus mode does (with the same top and bottom margins), and grow beyond that only when the note is longer. The switch animates only the width (springy, in place); keyboard changes are instant. **Check:** - Narrow, Wide and Full at 900 and 1440, light and dark, in Card and Page mode, with and without focus mode, with a short note (like today's daily note) and a long one. - Phones are unaffected (one width, per G13). - Post screenshots and a frame strip of the switch.
Author
Owner

Evidence (Chromium, real server, PR #302). Card height in px, short note, same note text at each width:

viewport Narrow Wide Full
900x800 732 732 page fills pane
1440x900 832 832 page fills pane
390 / 320 (phones, unchanged) 208 208 page

Before the fix at 900x800 the short card was 248 px in every width (it hugged its text); with a wrapping line Narrow was taller than Wide. Long notes still grow with their text, as before.

Frame strip, Wide to Narrow (animation slowed 20x): width springs 1092 > 1077 > 1028 > 832, height stays 832 in every frame.

strip-wide-to-narrow.png

900 light, short note: Narrow / Wide / Full, then the same in Focus

900-light-short-narrow-nofocus.png 900-light-short-wide-nofocus.png 900-light-short-full-nofocus.png

900-light-short-narrow-focus.png 900-light-short-wide-focus.png 900-light-short-full-focus.png

900 light, long note (Narrow, Wide, Full):

900-light-long-narrow-nofocus.png 900-light-long-wide-nofocus.png 900-light-long-full-nofocus.png

900 dark, short note: Narrow / Wide / Full, then the same in Focus

900-dark-short-narrow-nofocus.png 900-dark-short-wide-nofocus.png 900-dark-short-full-nofocus.png

900-dark-short-narrow-focus.png 900-dark-short-wide-focus.png 900-dark-short-full-focus.png

900 dark, long note (Narrow, Wide, Full):

900-dark-long-narrow-nofocus.png 900-dark-long-wide-nofocus.png 900-dark-long-full-nofocus.png

1440 light, short note: Narrow / Wide / Full, then the same in Focus

1440-light-short-narrow-nofocus.png 1440-light-short-wide-nofocus.png 1440-light-short-full-nofocus.png

1440-light-short-narrow-focus.png 1440-light-short-wide-focus.png 1440-light-short-full-focus.png

1440 light, long note (Narrow, Wide, Full):

1440-light-long-narrow-nofocus.png 1440-light-long-wide-nofocus.png 1440-light-long-full-nofocus.png

1440 dark, short note: Narrow / Wide / Full, then the same in Focus

1440-dark-short-narrow-nofocus.png 1440-dark-short-wide-nofocus.png 1440-dark-short-full-nofocus.png

1440-dark-short-narrow-focus.png 1440-dark-short-wide-focus.png 1440-dark-short-full-focus.png

1440 dark, long note (Narrow, Wide, Full):

1440-dark-long-narrow-nofocus.png 1440-dark-long-wide-nofocus.png 1440-dark-long-full-nofocus.png

Phones, unchanged (390 and 320, light and dark, short note Narrow / Full)

390-light-short-narrow-nofocus.png 390-light-short-full-nofocus.png

390-dark-short-narrow-nofocus.png 390-dark-short-full-nofocus.png

320-light-short-narrow-nofocus.png 320-light-short-full-nofocus.png

320-dark-short-narrow-nofocus.png 320-dark-short-full-nofocus.png

Before (900 light, short, Narrow / Wide, from dev):

900-light-short-narrow-nofocus.png 900-light-short-wide-nofocus.png

Evidence (Chromium, real server, PR #302). Card height in px, short note, same note text at each width: | viewport | Narrow | Wide | Full | |---|---|---|---| | 900x800 | 732 | 732 | page fills pane | | 1440x900 | 832 | 832 | page fills pane | | 390 / 320 (phones, unchanged) | 208 | 208 | page | Before the fix at 900x800 the short card was 248 px in every width (it hugged its text); with a wrapping line Narrow was taller than Wide. Long notes still grow with their text, as before. Frame strip, Wide to Narrow (animation slowed 20x): width springs 1092 > 1077 > 1028 > 832, height stays 832 in every frame. ![strip-wide-to-narrow.png](https://git.kayg.org/attachments/88361846-f10c-4722-89ce-56e29c1743f5) **900 light, short note: Narrow / Wide / Full, then the same in Focus** ![900-light-short-narrow-nofocus.png](https://git.kayg.org/attachments/9ba508d2-5133-4959-b1b9-bdf436f9366c) ![900-light-short-wide-nofocus.png](https://git.kayg.org/attachments/5b6e386c-4949-4b03-9c40-cde3c6485bee) ![900-light-short-full-nofocus.png](https://git.kayg.org/attachments/16f39d0e-8d93-4324-93b9-d0a1dfd771ba) ![900-light-short-narrow-focus.png](https://git.kayg.org/attachments/d61b892c-bfdd-4222-88be-8ba493e9463f) ![900-light-short-wide-focus.png](https://git.kayg.org/attachments/bb16871c-9eb2-4525-8543-efa604f342b4) ![900-light-short-full-focus.png](https://git.kayg.org/attachments/7a1a46d1-18ce-4ad6-933c-58a437d8ac7d) 900 light, long note (Narrow, Wide, Full): ![900-light-long-narrow-nofocus.png](https://git.kayg.org/attachments/3d2c3c67-005d-4393-9e93-f759e0a44544) ![900-light-long-wide-nofocus.png](https://git.kayg.org/attachments/7333f2d6-13f3-4448-a7f0-d4a994c8cfae) ![900-light-long-full-nofocus.png](https://git.kayg.org/attachments/580cc508-174e-42dc-826b-365584bc8372) **900 dark, short note: Narrow / Wide / Full, then the same in Focus** ![900-dark-short-narrow-nofocus.png](https://git.kayg.org/attachments/4ce2c0b8-aa65-4b27-8cff-71854e3dcb0c) ![900-dark-short-wide-nofocus.png](https://git.kayg.org/attachments/4b7ed7b2-b9dd-4467-95ac-43043db573e7) ![900-dark-short-full-nofocus.png](https://git.kayg.org/attachments/9208d71f-1297-433c-94c7-97d575c45e48) ![900-dark-short-narrow-focus.png](https://git.kayg.org/attachments/bf7a6da8-1957-4b0a-b978-fa1539afd56f) ![900-dark-short-wide-focus.png](https://git.kayg.org/attachments/6f4e7ec2-34b2-400a-9f6c-09ef8db33c83) ![900-dark-short-full-focus.png](https://git.kayg.org/attachments/9603efd9-d293-408a-b5b6-b270f54b8214) 900 dark, long note (Narrow, Wide, Full): ![900-dark-long-narrow-nofocus.png](https://git.kayg.org/attachments/19a0a5b7-50fa-465f-98f8-ab32dfc19286) ![900-dark-long-wide-nofocus.png](https://git.kayg.org/attachments/88595dc7-599c-49da-9426-b530f97337fc) ![900-dark-long-full-nofocus.png](https://git.kayg.org/attachments/8f47905a-912c-43bc-a7b8-9728d4eb78f1) **1440 light, short note: Narrow / Wide / Full, then the same in Focus** ![1440-light-short-narrow-nofocus.png](https://git.kayg.org/attachments/e33824d6-7a34-4ac7-83a7-02375b50eb3e) ![1440-light-short-wide-nofocus.png](https://git.kayg.org/attachments/7fad9c04-6f40-4c96-8721-5f306b9e720e) ![1440-light-short-full-nofocus.png](https://git.kayg.org/attachments/119c9cca-2d79-4c3c-99a7-39edec0259ea) ![1440-light-short-narrow-focus.png](https://git.kayg.org/attachments/bdd16311-d7a1-4292-b47b-22505a437738) ![1440-light-short-wide-focus.png](https://git.kayg.org/attachments/b9475a58-865b-4f9c-b52d-21fb670f6540) ![1440-light-short-full-focus.png](https://git.kayg.org/attachments/eba1ec41-2077-49d6-aa7f-6d73b3394775) 1440 light, long note (Narrow, Wide, Full): ![1440-light-long-narrow-nofocus.png](https://git.kayg.org/attachments/92de20ba-693b-4eae-820a-640e08a8459c) ![1440-light-long-wide-nofocus.png](https://git.kayg.org/attachments/da691eaa-45ae-4c0a-8c01-23397c6c3860) ![1440-light-long-full-nofocus.png](https://git.kayg.org/attachments/c96c3e14-e971-4aa0-a885-7b86f0f91d17) **1440 dark, short note: Narrow / Wide / Full, then the same in Focus** ![1440-dark-short-narrow-nofocus.png](https://git.kayg.org/attachments/4d842f4e-65c6-4755-8580-1c584fb8ec16) ![1440-dark-short-wide-nofocus.png](https://git.kayg.org/attachments/9cb6142d-5ad7-425f-a9be-44d7905bface) ![1440-dark-short-full-nofocus.png](https://git.kayg.org/attachments/60c7379f-d643-47e3-accf-3f652f68d2ee) ![1440-dark-short-narrow-focus.png](https://git.kayg.org/attachments/85df2bf8-7cf9-4a1d-afdf-11caf8a079ab) ![1440-dark-short-wide-focus.png](https://git.kayg.org/attachments/a262c582-ebe0-4c0a-9420-5d7c26aa1c18) ![1440-dark-short-full-focus.png](https://git.kayg.org/attachments/a586aba1-2024-43f1-8847-14b23817e747) 1440 dark, long note (Narrow, Wide, Full): ![1440-dark-long-narrow-nofocus.png](https://git.kayg.org/attachments/fd86d330-d374-4c9e-882f-6fee24a49e7b) ![1440-dark-long-wide-nofocus.png](https://git.kayg.org/attachments/3058e111-977c-4906-b091-06ce71f81cf0) ![1440-dark-long-full-nofocus.png](https://git.kayg.org/attachments/be6a0a30-2251-4228-84aa-5bcc587aa8c6) **Phones, unchanged (390 and 320, light and dark, short note Narrow / Full)** ![390-light-short-narrow-nofocus.png](https://git.kayg.org/attachments/99b2cd29-e2f4-4099-9e28-398cb007d000) ![390-light-short-full-nofocus.png](https://git.kayg.org/attachments/51fa758f-ad12-45fb-b24d-609432b14944) ![390-dark-short-narrow-nofocus.png](https://git.kayg.org/attachments/7491be5c-9d53-47cf-ad57-79aa6d848ae4) ![390-dark-short-full-nofocus.png](https://git.kayg.org/attachments/76099a97-4d43-4a17-a0dc-baf3094f489f) ![320-light-short-narrow-nofocus.png](https://git.kayg.org/attachments/9ccf2e06-681d-471f-9c91-89ed03ed4cd6) ![320-light-short-full-nofocus.png](https://git.kayg.org/attachments/680a14af-7074-4b7b-8dfe-75d65bbd856d) ![320-dark-short-narrow-nofocus.png](https://git.kayg.org/attachments/e9eb8584-e705-4f64-938d-a8200f42fa92) ![320-dark-short-full-nofocus.png](https://git.kayg.org/attachments/74ecd7aa-9a17-4be5-9eda-490052d954b8) Before (900 light, short, Narrow / Wide, from dev): ![900-light-short-narrow-nofocus.png](https://git.kayg.org/attachments/82e57beb-c90f-4b74-8efd-a6bcb17c05d2) ![900-light-short-wide-nofocus.png](https://git.kayg.org/attachments/9f6b6811-8d8b-45cf-8e92-ddf0e85b68d8)
Author
Owner

Superseded #302 with #305 (same change plus the pane height is read only for cards). Evidence above still applies.

Superseded #302 with #305 (same change plus the pane height is read only for cards). Evidence above still applies.
kayg closed this issue 2026-10-14 17:39:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#286
No description provided.