obsidian-minimal icon indicating copy to clipboard operation
obsidian-minimal copied to clipboard

Mermaid pie charts looking small

Open binEpilo opened this issue 1 year ago • 11 comments

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

Yes

Minimal theme version

7.4.7

Describe the bug

Somehow the pie charts are too small using the minimal theme. I reproduced the bug in a fresh vault and it persisted. 2024-02-05-12:26:18

Debug info

SYSTEM INFO: Obsidian version: v1.5.3 Installer version: v1.5.3 Operating system: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:03:56 +0000 6.7.3-zen1-2-zen Login status: not logged in Insider build toggle: off Live preview: on Base theme: adapt to system Community theme: Minimal v7.4.7 Snippets enabled: 0 Restricted mode: on

RECOMMENDATIONS: Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

binEpilo avatar Feb 05 '24 11:02 binEpilo

Can you please send the code you are using for the chart?

kepano avatar Feb 05 '24 17:02 kepano

Thats the code:

pie
	"asdf": 10
	"2": 90

binEpilo avatar Feb 05 '24 17:02 binEpilo

The size of the chart looks the same in default theme as it does in Minimal.

kepano avatar Feb 05 '24 17:02 kepano

Could it be that it has something to do with me using obsidian on 3440x1440? If I resize the window to a smaller resolution it does in fact look normal as it should. But the weird thing is that it does work normally using the default theme.

binEpilo avatar Feb 05 '24 17:02 binEpilo

Can you show a comparison screenshot between Minimal and default? I cannot reproduce, even on a large display.

kepano avatar Feb 05 '24 17:02 kepano

https://github.com/kepano/obsidian-minimal/assets/88486340/19ebcfd4-034d-4559-a077-56ffc7bb4192

binEpilo avatar Feb 05 '24 17:02 binEpilo

Unfortunately I am not able to reproduce this issue. Try restarting Obsidian, it's possible that you have some plugin settings still applied. I don't have any idea what this could be due to :/

kepano avatar Feb 05 '24 17:02 kepano

I'm having a similar issue but with the gantt tables. Works fine on the normal theme but super small on minimal.

aenony avatar Feb 27 '24 07:02 aenony

I need more information:

  1. Are you using reading mode or live preview? Does the issue happen in both modes?
  2. Is "Readable line length" on or off?

Also @aenony is this an issue for you on large displays too?

kepano avatar Mar 05 '24 16:03 kepano

It's happening on both modes and readable line length is on.

binEpilo avatar Mar 05 '24 17:03 binEpilo

Happens in both modes and all other settings are default. Also I use 15in laptop display so I can't comment on larger displays. 1 notably change I've made is I've switched to custom fonts throughout.

aenony avatar Mar 05 '24 17:03 aenony