leggett / simplify

Issue tracker for Simplify Gmail, a browser extension to simplify Gmail's interface
https://simpl.fyi
1.64k stars 103 forks source link

Compatibility with Mailvelope Chrome Plugin #774

Open macx opened 11 months ago

macx commented 11 months ago

I'm using the Mailvelope Chrome Plugin. It injects a second compose button which is not matching with the compose button, Simplify is styling. Please support Mailvelope!

But I wrote some CSS using Stylus to get this result:

Screenshot 20231207-1 1135 Google Chrome@2x

@-moz-document domain("mail.google.com") {
    /* SimpliFy Gmail comp. with Mailvelope */
    html.simplify.composeFab body[data-mailvelope-version] .aeN .z0,
    html.simplify.newNav.composeFab body[data-mailvelope-version] .aqn.aIH .z0 {
        flex-direction: column;
        justify-content: flex-end;
        height: 7rem;
        gap: 12px;      
    }

    html.simplify.composeFab body[data-mailvelope-version] .aeN .z0 > div:nth-child(2),
    html.simplify.newNav.composeFab body[data-mailvelope-version] .aqn.aIH .z0 > div:nth-child(2) {
        margin: 0 !important;
    }

    html.simplify.composeFab body[data-mailvelope-version] #composeMenu {
        bottom: 150px;
    }
}
leggett commented 11 months ago

Thanks for the report. I'll add this on my list of things to support for the v3 launch.

For what its worth, Simplify plays nicely with this if you disable the Compose FAB in Simplify preferences which leaves the compose button in the nav:

image