From 6f87be68be9bdb88270401071af0f8d1d632d693 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Tue, 15 Oct 2019 00:37:39 -0500 Subject: [PATCH] fix: changes font size for items of the register-info component (#196) * fix: changes font size for items of the register-info component This changes the font size for items of the register-info component to 1rem Fixes #193. * chore: added missing snapshots for previous commit --- .../__snapshots__/CopyToClipBoard.test.tsx.snap | 2 +- src/components/CopyToClipBoard/styles.ts | 1 + src/components/Help/__snapshots__/Help.test.tsx.snap | 2 +- src/components/Install/__snapshots__/Install.test.tsx.snap | 6 +++--- .../Repository/__snapshots__/Repository.test.tsx.snap | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/CopyToClipBoard/__snapshots__/CopyToClipBoard.test.tsx.snap b/src/components/CopyToClipBoard/__snapshots__/CopyToClipBoard.test.tsx.snap index 23f310a..8157d54 100644 --- a/src/components/CopyToClipBoard/__snapshots__/CopyToClipBoard.test.tsx.snap +++ b/src/components/CopyToClipBoard/__snapshots__/CopyToClipBoard.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component render the component 1`] = `"
copy text
"`; +exports[` component render the component 1`] = `"
copy text
"`; diff --git a/src/components/CopyToClipBoard/styles.ts b/src/components/CopyToClipBoard/styles.ts index a830e3b..2f70378 100644 --- a/src/components/CopyToClipBoard/styles.ts +++ b/src/components/CopyToClipBoard/styles.ts @@ -17,6 +17,7 @@ export const ClipBoardCopyText = styled('span')({ overflow: 'hidden', whiteSpace: 'nowrap', height: '21px', + fontSize: '1rem', }, }); diff --git a/src/components/Help/__snapshots__/Help.test.tsx.snap b/src/components/Help/__snapshots__/Help.test.tsx.snap index 741a4eb..23aca2a 100644 --- a/src/components/Help/__snapshots__/Help.test.tsx.snap +++ b/src/components/Help/__snapshots__/Help.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `"

No Package Published Yet.

To publish your first package just:

1. Login

npm adduser --registry http://localhost

2. Publish

npm publish --registry http://localhost

3. Refresh this page.

"`; +exports[` component should render the component in default state 1`] = `"

No Package Published Yet.

To publish your first package just:

1. Login

npm adduser --registry http://localhost

2. Publish

npm publish --registry http://localhost

3. Refresh this page.

"`; diff --git a/src/components/Install/__snapshots__/Install.test.tsx.snap b/src/components/Install/__snapshots__/Install.test.tsx.snap index 14fae87..6a15d2b 100644 --- a/src/components/Install/__snapshots__/Install.test.tsx.snap +++ b/src/components/Install/__snapshots__/Install.test.tsx.snap @@ -36,7 +36,7 @@ exports[` renders correctly 1`] = ` class="css-1mta3t8 emotion-4" > npm install foo @@ -103,7 +103,7 @@ exports[` renders correctly 1`] = ` class="css-1mta3t8 emotion-4" > yarn add foo @@ -170,7 +170,7 @@ exports[` renders correctly 1`] = ` class="css-1mta3t8 emotion-4" > pnpm install foo diff --git a/src/components/Repository/__snapshots__/Repository.test.tsx.snap b/src/components/Repository/__snapshots__/Repository.test.tsx.snap index 3296681..6037fec 100644 --- a/src/components/Repository/__snapshots__/Repository.test.tsx.snap +++ b/src/components/Repository/__snapshots__/Repository.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `""`; +exports[` component should render the component in default state 1`] = `""`;