You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Padding and background are still applied as you are still setting them if the cssClass is not null. I updated the js code and it works fine now, but you may want to fix it. Inline styles overwrite the css.
The text was updated successfully, but these errors were encountered:
Great little plugin, thank you.
In the docs it says:
"Assign a Custom CSS class to the bar. Overrides ALL styles passed as options. For e.g. padding, backgroundColor etc."
This doesn't actually work as default parameters still get passed in which overwrite any custom class.
This what is displayed in the dev console:
<div
class="peek-a-bar bar-success" id="__peek_a_bar_48236846" style="padding: 1em; background-color: rgb(195, 195, 195); opacity: 0.8; bottom: 0px; display: none;">Some message`Padding and background are still applied as you are still setting them if the cssClass is not null. I updated the js code and it works fine now, but you may want to fix it. Inline styles overwrite the css.
The text was updated successfully, but these errors were encountered: