danielo515 / obsidian-modal-form

Define forms for filling data that you will be able to open from anywhere you can run JS
https://danielorodriguez.com/obsidian-modal-form/
MIT License
175 stars 13 forks source link

[BUG] CSS rules broke on screen (21" and more?) #290

Open Mara-Li opened 1 week ago

Mara-Li commented 1 week ago

Describe the bug The template edit form is unscrollable when Obsidian take my entire screen.

To Reproduce Have a screen at 21".

Expected behavior Able of scrolling

Additional context The bug is caused by this css rules:

@media (min-width: 100rem) {
    form.svelte-8lqyxl {
        display: flex; /* ← include this */
        flex-direction: column;
        height: 100%; /* ← ths too */
        overflow: hidden; /* ← including this */
    }   
     .fields.svelte-8lqyxl {
        flex: 1;
        height: 100%; /* ← this one specifically */
    }
    .body.svelte-8lqyxl {
        overflow-y: hidden; /* Need to be changed too */
    }
}