fzankl / docsify-plugin-flexible-alerts

docsify plugin to convert blockquotes into beautiful and configurable alerts using preconfigured or own styles and alert types.
MIT License
129 stars 14 forks source link

Small issue with TIP #2

Closed yumyo closed 5 years ago

yumyo commented 5 years ago

Hi, I have just noticed that, at least using themeable, the Tip callout has more padding and two icons. Please see the screenshot below.

Before

image

Temporarily solving the issue is as simple as adding:

.markdown-section .tip:before {
    content: unset;
}

.markdown-section .tip {
    padding: .75rem 1.25rem;
}

After

image

fzankl commented 5 years ago

You're right, there are some overlaps in styles of the plugins. Issue fixed in release version 1.0.1 using some important statements in stylesheet. So alerts will keep their style no matter which type is used.