kepano / obsidian-minimal

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

Table with long text in columns causes the table to shift towards left margin instead of continuing towards right margin #723

Open meet-v opened 2 months ago

meet-v commented 2 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.5.4

Describe the bug

A table with long text that stretches beyond the default text-margin of a note shifts the table towards the left margin instead of continuing to expand the table towards the right margin. This only happens in source mode.

Default Obsidian Theme image

Minimal Theme image

Debug info

SYSTEM INFO: Obsidian version: v1.5.12 Installer version: v1.4.14 Operating system: Windows 10 Home Single Language 10.0.22631 Login status: not logged in Insider build toggle: off Live preview: off Base theme: light Community theme: Minimal v7.5.4 Snippets enabled: 0 Restricted mode: off Plugins installed: 6 Plugins enabled: 0

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.

pangteypiyush commented 2 weeks ago

Try this:

.cm-line.HyperMD-table-row {
  min-width: auto;
}