From 7ff7b7fd3fcff3242d0b82aa87debfc6442aadbb Mon Sep 17 00:00:00 2001 From: Robert Tyree <20293876+tyreer@users.noreply.github.com> Date: Sat, 15 Aug 2020 15:00:37 +0100 Subject: [PATCH] fix: update Jets snapshots related to enabling GlobalHeader on mobile views --- .../__snapshots__/Header.spec.js.snap | 13 +++---- .../__snapshots__/collection.spec.js.snap | 13 +++---- .../external-projects.spec.js.snap | 13 +++---- .../__snapshots__/index.spec.js.snap | 13 +++---- .../__snapshots__/oss-category.spec.js.snap | 13 +++---- .../external-project-page.spec.js.snap | 39 +++++++++---------- 6 files changed, 48 insertions(+), 56 deletions(-) diff --git a/src/components/__tests__/__snapshots__/Header.spec.js.snap b/src/components/__tests__/__snapshots__/Header.spec.js.snap index 9dcff371c5..1e626104ed 100644 --- a/src/components/__tests__/__snapshots__/Header.spec.js.snap +++ b/src/components/__tests__/__snapshots__/Header.spec.js.snap @@ -9,21 +9,20 @@ Array [ position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 { diff --git a/src/pages/__tests__/__snapshots__/collection.spec.js.snap b/src/pages/__tests__/__snapshots__/collection.spec.js.snap index c8bd1e6f37..244d5dc26f 100644 --- a/src/pages/__tests__/__snapshots__/collection.spec.js.snap +++ b/src/pages/__tests__/__snapshots__/collection.spec.js.snap @@ -8,21 +8,20 @@ exports[`Data Collection Agents Page Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 { diff --git a/src/pages/__tests__/__snapshots__/external-projects.spec.js.snap b/src/pages/__tests__/__snapshots__/external-projects.spec.js.snap index b71008a50d..f08c118b25 100644 --- a/src/pages/__tests__/__snapshots__/external-projects.spec.js.snap +++ b/src/pages/__tests__/__snapshots__/external-projects.spec.js.snap @@ -8,21 +8,20 @@ exports[`External Projects Page Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-34 { background-color: var(--color-dark-100); } -.emotion-34 a { - border-bottom: none; +.emotion-34 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-34 { - display: none; - } +.emotion-34 a { + border-bottom: none; } .emotion-33 { diff --git a/src/pages/__tests__/__snapshots__/index.spec.js.snap b/src/pages/__tests__/__snapshots__/index.spec.js.snap index 5ba673072b..2871d75bc5 100644 --- a/src/pages/__tests__/__snapshots__/index.spec.js.snap +++ b/src/pages/__tests__/__snapshots__/index.spec.js.snap @@ -8,21 +8,20 @@ exports[`HomePage Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 { diff --git a/src/pages/__tests__/__snapshots__/oss-category.spec.js.snap b/src/pages/__tests__/__snapshots__/oss-category.spec.js.snap index c2d1f3ba3b..c889044591 100644 --- a/src/pages/__tests__/__snapshots__/oss-category.spec.js.snap +++ b/src/pages/__tests__/__snapshots__/oss-category.spec.js.snap @@ -8,21 +8,20 @@ exports[`OSS Category Page Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 { diff --git a/src/templates/__tests__/__snapshots__/external-project-page.spec.js.snap b/src/templates/__tests__/__snapshots__/external-project-page.spec.js.snap index 7291943575..db1964731f 100644 --- a/src/templates/__tests__/__snapshots__/external-project-page.spec.js.snap +++ b/src/templates/__tests__/__snapshots__/external-project-page.spec.js.snap @@ -8,21 +8,20 @@ exports[`Adopt OpenJDK Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 { @@ -694,21 +693,20 @@ exports[`Open Telemetry Page Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 { @@ -1380,21 +1378,20 @@ exports[`W3C Distributed Tracing Working Group Renders correctly 1`] = ` position: sticky; top: 0; z-index: 80; - position: static; + z-index: 1000000; } .dark-mode .emotion-32 { background-color: var(--color-dark-100); } -.emotion-32 a { - border-bottom: none; +.emotion-32 ul { + line-height: 14px; + font-size: 16px; } -@media screen and (max-width:480px) { - .emotion-32 { - display: none; - } +.emotion-32 a { + border-bottom: none; } .emotion-31 {