From 7d21e3d4df262e4ee91bb84e1f1385230b6ade20 Mon Sep 17 00:00:00 2001 From: Beth Shook Date: Mon, 17 Jun 2024 14:02:20 -0500 Subject: [PATCH] update snaps --- src/app/components/Button.tsx | 3 ++- src/app/components/__snapshots__/Button.spec.tsx.snap | 3 +++ .../components/popUp/__snapshots__/ChapterFilter.spec.tsx.snap | 1 + .../components/popUp/__snapshots__/ColorFilter.spec.tsx.snap | 1 + .../SummaryPopup/__snapshots__/Filters.spec.tsx.snap | 1 + .../studyGuides/components/__snapshots__/Filters.spec.tsx.snap | 1 + 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/app/components/Button.tsx b/src/app/components/Button.tsx index abf4285460..5b224f6977 100644 --- a/src/app/components/Button.tsx +++ b/src/app/components/Button.tsx @@ -53,7 +53,7 @@ const Button = styled(ButtonHoc)` display: flex; cursor: pointer; align-items: center; - justify-content: center; + justify-content: center; border-radius: 0.5rem; box-shadow: 0 0.2rem 0.4rem rgba(ui-color(black), 0.2); text-decoration: none; @@ -135,6 +135,7 @@ export const PlainButton = styled.button` // tslint:disable-next-line:variable-name export const ButtonLink = styled(PlainButton)` + outline: none; ${textStyle} ${(props: {decorated: boolean}) => props.decorated ? decoratedLinkStyle : linkStyle} `; diff --git a/src/app/components/__snapshots__/Button.spec.tsx.snap b/src/app/components/__snapshots__/Button.spec.tsx.snap index 3e969e63ff..f47c4b892d 100644 --- a/src/app/components/__snapshots__/Button.spec.tsx.snap +++ b/src/app/components/__snapshots__/Button.spec.tsx.snap @@ -363,6 +363,7 @@ exports[`ButtonLink matches snapshot (decorated and disabled) 1`] = ` margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer; @@ -398,6 +399,7 @@ exports[`ButtonLink matches snapshot (decorated) 1`] = ` margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer; @@ -424,6 +426,7 @@ exports[`ButtonLink matches snapshot 1`] = ` margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer; diff --git a/src/app/content/components/popUp/__snapshots__/ChapterFilter.spec.tsx.snap b/src/app/content/components/popUp/__snapshots__/ChapterFilter.spec.tsx.snap index 72bc7f7862..929605d292 100644 --- a/src/app/content/components/popUp/__snapshots__/ChapterFilter.spec.tsx.snap +++ b/src/app/content/components/popUp/__snapshots__/ChapterFilter.spec.tsx.snap @@ -13,6 +13,7 @@ exports[`ChapterFilter matches snapshot 1`] = ` margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer; diff --git a/src/app/content/components/popUp/__snapshots__/ColorFilter.spec.tsx.snap b/src/app/content/components/popUp/__snapshots__/ColorFilter.spec.tsx.snap index 99351e16f6..f44870b0dc 100644 --- a/src/app/content/components/popUp/__snapshots__/ColorFilter.spec.tsx.snap +++ b/src/app/content/components/popUp/__snapshots__/ColorFilter.spec.tsx.snap @@ -13,6 +13,7 @@ exports[`ColorFilter matches snapshot 1`] = ` margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer; diff --git a/src/app/content/highlights/components/SummaryPopup/__snapshots__/Filters.spec.tsx.snap b/src/app/content/highlights/components/SummaryPopup/__snapshots__/Filters.spec.tsx.snap index 5cfbaa5d8e..e4abcf53f0 100644 --- a/src/app/content/highlights/components/SummaryPopup/__snapshots__/Filters.spec.tsx.snap +++ b/src/app/content/highlights/components/SummaryPopup/__snapshots__/Filters.spec.tsx.snap @@ -119,6 +119,7 @@ input:checked + .c21 .c22 { margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer; diff --git a/src/app/content/studyGuides/components/__snapshots__/Filters.spec.tsx.snap b/src/app/content/studyGuides/components/__snapshots__/Filters.spec.tsx.snap index 22aea20f96..74fd9b917c 100644 --- a/src/app/content/studyGuides/components/__snapshots__/Filters.spec.tsx.snap +++ b/src/app/content/studyGuides/components/__snapshots__/Filters.spec.tsx.snap @@ -165,6 +165,7 @@ input:checked + .c21 .c22 { margin: 0; padding: 0; background: none; + outline: none; color: #424242; color: #027EB5; cursor: pointer;