-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Not necessarily an Announcekit-React specific question, but that is what I am using.
I have an issue where the Banner that is displayed when an Announcement is sent out, affects the way in which my site works. This is due to a bit of scroll jacking, but that is the design required by designers.
The issue, which is a hunch because I don't have an actual banner to work with, is that the css for the banner is adding some margin to the body. It is this extra space that is breaking how the design works.
So my question, is there a way to trigger the display of a banner (or any other widget) so that I can work on this bug without having to have Product team send out an Announcement and all the users see it?
I am hoping that Announcekit adds a class to the body something like <body class="announcekit-banner"> because then I can write a css style that removes the added margin from the bottom when that class is present and leave things alone when NOT present.
If Announcekit is adding margin directly to body, like:
body {
margin-top: 2.5rem
}Then that is going to be significantly more effort to deal with.
But without the ability to see an actual banner, then I am not sure I can actually definitively figure this out.
Thanks in advance!