Card widths shrink upon reopening canvas

Steps to reproduce

  1. Create new canvas
  2. Create cards, with or with markup.
  3. Resize card borders to eliminate excessive white space
  4. Reopen canvas page in future.

Expected result

Cards appear same width as they were previously.

Actual result

Width of cards slightly shrink, causing content to wrap, scroll bars introduced and text pushed off card.

Environment

  • Windows 10
  • Debug info:

SYSTEM INFO:
Obsidian version: v1.4.14
Installer version: v1.3.3
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Obsidian Nord v0.1.6
Snippets enabled: 2
Restricted mode: off
Plugins installed: 44
Plugins enabled: 39
1: Editor Syntax Highlight v0.1.3
2: Find and replace in selection v1.0.1
3: Find unlinked files and unresolved links v1.5.2
4: Fullscreen mode plugin v0.1.2
5: Media Extended v2.11.1
6: Meld Encrypt v1.6.2
7: Natural Language Dates v0.6.1
8: Obsidian_to_Anki v3.4.1
9: Gallery v0.5.8
10: Dataview v0.5.29
11: Periodic Notes v0.0.17
12: Slated v0.5.2
13: Clear Unused Images v1.0.6
14: Hot Reload v0.1.8
15: Galleridian v0.1
16: Reminder v1.1.9
17: Tracker v1.10.9
18: Toggl Track v0.8.1
19: Day Planner v0.5.8
20: Calendar v1.5.10
21: Advanced Tables v0.18.1
22: PlantUML v1.6.3
23: Regex Find/Replace v1.2.0
24: Zoom v0.2.8
25: Recent Files v1.3.2
26: Obsidian Git v2.19.1
27: Kanban v1.5.3
28: Icons v0.3.0
29: Obsidian Charts v3.7.1
30: Meld Calc v1.0.2
31: Sort & Permute lines v0.7.0
32: Emoji Toolbar v0.4.0
33: CardBoard v0.7.2
34: Status Bar Pomodoro Timer v0.1.14
35: Annotator v0.2.10
36: ePub Reader v1.0.2
37: Digital Garden v2.46.0
38: Recipe Grabber v0.12.0
39: Rollover Daily Todos v1.1.7


Additional information

  • Regularly occurs, however can’t seem to reproduce by just reopening canvas or rerunning Obsidian.
  • No theme changes (only using Obsidian Nord)
  • Font size set to 20 rather than default of 16 - maybe dynamic width calc based on 16?
  • Often move Obsidian between 4K and WQHD monitors on same machine, however canvas page wouldn’t be open at the time.

Very typical result showing cards narrowing and as a result, scroll bars coming in.

1 Like

Same problem here. I can reset them all manually but next time they are smaller again.

Is it possible that this is simply a difference of edit and reading mode?

Can you post a screen recording of this phenomenon happening in the sandbox vault?

I have the same problem. I also can’t reproduce it exactly how it occurs but for me it happens when I am not using obsidian for hours

I’ve been having this happen too, and it seems to be caused by interactions with the width of the scroll bar. If the scroll bar appears on a card for whatever reason, it adds extra padding for text wrapping, but it does that even if the text could fit in the current size of the card without the scroll bar there.