kepano / obsidian-minimal

A distraction-free and highly customizable theme for Obsidian.
https://minimal.guide
MIT License
3.63k stars 184 forks source link

Mermaid pie charts looking small #694

Open binEpilo opened 7 months ago

binEpilo commented 7 months ago

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.

kepano commented 7 months ago

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

binEpilo commented 7 months ago

Thats the code:

pie
    "asdf": 10
    "2": 90
kepano commented 7 months ago

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

binEpilo commented 7 months ago

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.

kepano commented 7 months ago

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

binEpilo commented 7 months ago

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

kepano commented 7 months ago

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 :/

aenony commented 6 months ago

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

kepano commented 6 months ago

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?

binEpilo commented 6 months ago

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

aenony commented 6 months ago

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.