CTA should be positioned under body on small screen in all cases, even when there is no dismiss button:
We can see that when there is a CTA with dismiss button, the CTA is positioned correctly.
When we replace the dismiss button with the CTA, the CTA loses the ability to go in the correct space under the body:
Even if trying to use just the section-notice__cta (not sure if this is the desired expectation - it is not clear from current docs or stories), there is a spacing issue on large screens:
CTA should be positioned under body on small screen in all cases, even when there is no dismiss button:
We can see that when there is a CTA with dismiss button, the CTA is positioned correctly.
When we replace the dismiss button with the CTA, the CTA loses the ability to go in the correct space under the body:
Even if trying to use just the
section-notice__cta
(not sure if this is the desired expectation - it is not clear from current docs or stories), there is a spacing issue on large screens:This behavior can be verified in current storybook: https://opensource.ebay.com/skin/storybook/?path=/story/skin-section-notice--information-with-button