From 0fb5be18bc5b55e0172adb47b4fa21c086bb3ac3 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Sun, 13 Oct 2019 08:36:10 -0500 Subject: [PATCH 1/2] 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. --- src/components/CopyToClipBoard/styles.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/CopyToClipBoard/styles.ts b/src/components/CopyToClipBoard/styles.ts index a830e3b24..2f7037825 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', }, }); From 45bcf1360d7b487c2d23928509f1e1e7d483788c Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Sun, 13 Oct 2019 16:40:10 -0500 Subject: [PATCH 2/2] chore: added missing snapshots for previous commit --- .../__snapshots__/CopyToClipBoard.test.tsx.snap | 2 +- 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 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/CopyToClipBoard/__snapshots__/CopyToClipBoard.test.tsx.snap b/src/components/CopyToClipBoard/__snapshots__/CopyToClipBoard.test.tsx.snap index 23f310a89..8157d5441 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/Help/__snapshots__/Help.test.tsx.snap b/src/components/Help/__snapshots__/Help.test.tsx.snap index 741a4eb6d..23aca2a16 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 14fae877a..6a15d2bce 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 3296681ab..6037fecfd 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`] = `""`;