Skip to content

MCL Wide Views breaks using the default theme #124

Description

@elvarb

Also with the fastppuccin theme, but works with the Minimal theme for some reason.

When using any of the cssclasses that make specific parts wide it will justify the section to the left but still keep the width the same as the page itself.

Image

I did some debugging and disabling this style seems to make it work again.

.markdown-source-view.mod-cm6 .cm-content>[contenteditable=false] {
    max-width: 100% !important;
}

It references just <style> and when checking that it starts like this

/* Obsidian Components */

I created a new css snipped that fixes this.

.markdown-source-view.mod-cm6 .cm-content > [contenteditable="false"]:has(table) {
max-width: none !important;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions