From 8bac095eaa870fdd446095d448e76121135b3d6d Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 4 Aug 2023 12:48:59 +0200 Subject: [PATCH] update snapshots --- ...tories.js.snap => Button.stories.tsx.snap} | 0 ...ories.jsx.snap => Header.stories.tsx.snap} | 4 ++-- stories/molecules/header.css | 12 +++++----- stories/pages/Page.stories.tsx | 1 + ...stories.jsx.snap => Page.stories.tsx.snap} | 12 +++++----- stories/pages/page.css | 22 +++++++++---------- 6 files changed, 26 insertions(+), 25 deletions(-) rename stories/atoms/__snapshots__/{Button.stories.js.snap => Button.stories.tsx.snap} (100%) rename stories/molecules/__snapshots__/{Header.stories.jsx.snap => Header.stories.tsx.snap} (97%) rename stories/pages/__snapshots__/{Page.stories.jsx.snap => Page.stories.tsx.snap} (96%) diff --git a/stories/atoms/__snapshots__/Button.stories.js.snap b/stories/atoms/__snapshots__/Button.stories.tsx.snap similarity index 100% rename from stories/atoms/__snapshots__/Button.stories.js.snap rename to stories/atoms/__snapshots__/Button.stories.tsx.snap diff --git a/stories/molecules/__snapshots__/Header.stories.jsx.snap b/stories/molecules/__snapshots__/Header.stories.tsx.snap similarity index 97% rename from stories/molecules/__snapshots__/Header.stories.jsx.snap rename to stories/molecules/__snapshots__/Header.stories.tsx.snap index f5b93032..c59d3370 100644 --- a/stories/molecules/__snapshots__/Header.stories.jsx.snap +++ b/stories/molecules/__snapshots__/Header.stories.tsx.snap @@ -2,7 +2,7 @@ exports[`Molecules/Header LoggedIn smoke-test 2`] = `
-
+
-
+
-
+
-
+

Pages in Storybook

@@ -117,10 +117,10 @@ exports[`Pages/Page LoggedIn play-test 2`] = ` `; -exports[`Pages/Page LoggedOut smoke-test 2`] = ` +exports[`Pages/page LoggedOut smoke-test 2`] = `
-
+
-
+

Pages in Storybook

diff --git a/stories/pages/page.css b/stories/pages/page.css index fbc32aea..098dad11 100644 --- a/stories/pages/page.css +++ b/stories/pages/page.css @@ -1,4 +1,4 @@ -section { +.storybook-page { font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 24px; @@ -8,8 +8,8 @@ section { color: #333; } -section h2 { - font-weight: 900; +.storybook-page h2 { + font-weight: 700; font-size: 32px; line-height: 1; margin: 0 0 4px; @@ -17,25 +17,25 @@ section h2 { vertical-align: top; } -section p { +.storybook-page p { margin: 1em 0; } -section a { +.storybook-page a { text-decoration: none; color: #1ea7fd; } -section ul { +.storybook-page ul { padding-left: 30px; margin: 1em 0; } -section li { +.storybook-page li { margin-bottom: 8px; } -section .tip { +.storybook-page .tip { display: inline-block; border-radius: 1em; font-size: 11px; @@ -48,14 +48,14 @@ section .tip { vertical-align: top; } -section .tip-wrapper { +.storybook-page .tip-wrapper { font-size: 13px; line-height: 20px; margin-top: 40px; margin-bottom: 40px; } -section .tip-wrapper svg { +.storybook-page .tip-wrapper svg { display: inline-block; height: 12px; width: 12px; @@ -64,6 +64,6 @@ section .tip-wrapper svg { margin-top: 3px; } -section .tip-wrapper svg path { +.storybook-page .tip-wrapper svg path { fill: #1ea7fd; }