Skip to content

Tables with PDF++ embeds are not scaled to block width correctly. #845

Description

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

No (conflicts with PDF++)

Minimal theme version

7.6.0

Describe the bug

When embedding PDF "square annotations" (rectangular selections) using PDF++, tables do not scale correctly when Minimal Theme is enabled. This results in unwanted horizontal scrolling even when "Maximize table width" is set to "Fit to line width" in Style Settings. Setting a fixed "Maximum column width" in Style Settings scales the PDF embeds as expected.

The problem likely occurs because PDF++ rerenders the PDF images after opening the note, which appears to override or conflict with the theme’s styling and scaling behavior.

PDF++ adds annotations with this syntax: ![[file.pdf#page=1&rect=300,200,700,600]]

This issue does not appear in the default Obsidian theme or other community themes tested. However, it consistently occurs in all themes if the "Minimal Theme Settings" plugin is enabled (even if the Minimal Theme itself is not active). Within the Minimal Theme, the issue happens regardless of whether the Settings plugin is enabled.


Table with Minimal Theme enabled:

Image

Table with the default Obsidian Theme enabled (and Minimal Theme Settings disabled):

Image

Table with Minimal Theme enabled and "Maximum column width" set to 15ch:

Image

Debug info

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8112 24.5.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: Minimal v7.6.0
Snippets enabled: 3
Restricted mode: off
Plugins installed: 10
Plugins enabled: 3
1: Style Settings v1.0.9
2: PDF++ v0.40.30
3: Minimal Theme Settings v8.1.1

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.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions