diff --git a/packages/react/src/components/global-banner/global-banner.test.tsx.snap b/packages/react/src/components/global-banner/global-banner.test.tsx.snap index 2b6a598109..1c4905fa8f 100644 --- a/packages/react/src/components/global-banner/global-banner.test.tsx.snap +++ b/packages/react/src/components/global-banner/global-banner.test.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`GlobalBanner matches snapshot (desktop, alert) 1`] = ` -.c7 { +.c5 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -41,46 +41,46 @@ exports[`GlobalBanner matches snapshot (desktop, alert) 1`] = ` user-select: none; } -.c7:focus { +.c5:focus { outline: none; } -.c7:focus { +.c5:focus { outline: none; border-color: #006296; box-shadow: 0 0 0 2px #84C6EA; } -.c7 > svg { +.c5 > svg { color: inherit; height: var(--size-1x); width: var(--size-1x); } -.c8 { +.c6 { background-color: transparent; border-color: #FFFFFF; color: #FFFFFF; } -.c8:focus { +.c6:focus { outline: none; } -.c8:focus { +.c6:focus { outline: none; border-color: #006296; box-shadow: 0 0 0 2px #84C6EA; } -.c8:hover, -.c8[aria-expanded='true'] { +.c6:hover, +.c6[aria-expanded='true'] { background-color: transparent; border-color: #84C6EA; color: #84C6EA; } -.c8:disabled { +.c6:disabled { background-color: transparent; border-color: #006296; color: #006296; @@ -110,7 +110,7 @@ exports[`GlobalBanner matches snapshot (desktop, alert) 1`] = ` -ms-letter-spacing: 0.0125rem; letter-spacing: 0.0125rem; line-height: 1.5rem; - padding: var(--spacing-1x) var(--spacing-2x); + padding: var(--spacing-1halfx) var(--spacing-2x); position: relative; } @@ -131,40 +131,25 @@ exports[`GlobalBanner matches snapshot (desktop, alert) 1`] = ` position: relative; } -.c1 > svg { +.c2 { + -webkit-align-self: flex-start; + -ms-flex-item-align: start; + align-self: flex-start; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; height: var(--size-1x); - margin: 0 var(--spacing-1x) 0 calc(-1 * var(--spacing-4x)); + margin: var(--spacing-half) var(--spacing-1halfx) 0 calc(-1 * var(--spacing-4x)); width: var(--size-1x); } -.c2 { - -webkit-align-self: initial; - -ms-flex-item-align: initial; - align-self: initial; -} - .c3 { - -webkit-letter-spacing: 0.015rem; - -moz-letter-spacing: 0.015rem; - -ms-letter-spacing: 0.015rem; - letter-spacing: 0.015rem; - margin: 0; -} - -.c4 { - display: inline; + display: block; + font-size: 1rem; font-weight: var(--font-semi-bold); - margin-right: var(--spacing-1x); -} - -.c5 { - display: inline-block; } -.c6 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -175,23 +160,24 @@ exports[`GlobalBanner matches snapshot (desktop, alert) 1`] = ` width: unset; } -.c6 > button { +.c4 > button { margin-left: var(--spacing-1x); margin-top: 0; } -.c9 { +.c7 { border-color: #FFFFFF; color: #FFFFFF; } -.c9:hover { +.c7:hover { border-color: #F99D99; color: #F99D99; }