chhoumann / MetaEdit

MetaEdit for Obsidian
https://bagerbach.com
GNU General Public License v3.0
410 stars 17 forks source link

[BUG] Strange interaction with metaEdit buttons on Android #75

Open MarcosDantasdeSantana opened 2 years ago

MarcosDantasdeSantana commented 2 years ago

When you have more than one value in YAML, when running metaEdit the edit and delete buttons do not work on Android. By clicking on them it edits the YAML value below.

YAML Propertys

Screenshot_20220527-080357.png

Run metaEdit

Screenshot_20220527-080635.png

Try Clicking on Exclude button of note

Screenshot_20220527-080422.png

Result in editing values of tests

Screenshot_20220527-081855.png

MarcosDantasdeSantana commented 2 years ago

I resolved the Issue creating a snippet

In the Obsidian created a snippet that make the button functional, when the width is ata a max of 36rem she is goin to be displayed on the right side.

Code

@media screen and (max-width: 36rem) {
        /** mwtaEdits button to edit, replace and exclude**/
    .not-a-button {
        /*display: none !important;*//*Remove the buttons*/
        width: 3rem !important;
        top: 10px;
    }
    .buttonContainer.svelte-kqcr7b {
        flex-direction: row !important;
    }
    select.svelte-kqcr7b {
        width: 10px !important;
    }
}

Result

Screenshot_20220611-075518.png