Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Respect Options | Appearance | Quick font size adjustment #8

@pm64

Description

@pm64

Currently, quick font size adjustment (ctrl+scroll or pinch-zoom) is not handled by text files displayed by this plug-in, so the setting is not respected.

I'm currently working around this by using the Minimal Theme Settings plug-in, which adds hotkey settings for font size increase/decrease. I then add the following CSS snippet:

div.workspace-leaf-content[data-type="text/plain (no file)"] div.CodeMirror.cm-s-default {
    font-size: var(--font-text-size);
}

I can then adjust font size using my keyboard, but this is not a great solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions