Skip to content

Commit

Permalink
docs(PPDSC-2172): fix for applitools build issue test_visual_docs_2
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivasan-Ramasamy committed Jun 8, 2022
1 parent a872973 commit c0c20ff
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 1 deletion.
120 changes: 120 additions & 0 deletions site/components/__tests__/__snapshots__/site-header.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on a section wi
text-align: center;
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-25 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-25 {
padding-inline: 16px;
}
}
.emotion-25 svg {
width: 24px;
height: 24px;
Expand Down Expand Up @@ -472,6 +484,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on a section wi
}
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-25 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-25 {
padding-inline: 16px;
}
}
.emotion-28 {
margin: 0;
font-family: "Poppins",sans-serif;
Expand Down Expand Up @@ -538,6 +562,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on a section wi
text-align: center;
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-30 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-30 {
padding-inline: 16px;
}
}
.emotion-30 svg {
width: 24px;
height: 24px;
Expand Down Expand Up @@ -565,6 +601,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on a section wi
}
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-30 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-30 {
padding-inline: 16px;
}
}
.emotion-49 {
grid-area: github;
}
Expand Down Expand Up @@ -1629,6 +1677,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on the /about s
text-align: center;
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-25 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-25 {
padding-inline: 16px;
}
}
.emotion-25 svg {
width: 24px;
height: 24px;
Expand Down Expand Up @@ -1656,6 +1716,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on the /about s
}
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-25 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-25 {
padding-inline: 16px;
}
}
.emotion-28 {
margin: 0;
font-family: "Poppins",sans-serif;
Expand Down Expand Up @@ -1722,6 +1794,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on the /about s
text-align: center;
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-30 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-30 {
padding-inline: 16px;
}
}
.emotion-30 svg {
width: 24px;
height: 24px;
Expand Down Expand Up @@ -1749,6 +1833,18 @@ exports[`SiteHeader has first item highlighted (About) if we are on the /about s
}
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-30 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-30 {
padding-inline: 16px;
}
}
.emotion-49 {
grid-area: github;
}
Expand Down Expand Up @@ -2807,6 +2903,18 @@ exports[`SiteHeader has no highlighted items if we are on the homepage 1`] = `
text-align: center;
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-25 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-25 {
padding-inline: 16px;
}
}
.emotion-25 svg {
width: 24px;
height: 24px;
Expand Down Expand Up @@ -2834,6 +2942,18 @@ exports[`SiteHeader has no highlighted items if we are on the homepage 1`] = `
}
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
.emotion-25 {
padding-inline: 3px;
}
}
@media screen and (min-width: 1440px) {
.emotion-25 {
padding-inline: 16px;
}
}
.emotion-28 {
margin: 0;
font-family: "Poppins",sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion site/components/site-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ const SiteHeader = React.forwardRef<HeaderRef, HeaderProps>(
overrides={{
stylePreset: 'linkTopNavigation',
minHeight: '80px',

marginInline: '10px',
paddingInline: {lg: '3px', xl: '16px'},
}}
>
{title}
Expand Down

0 comments on commit c0c20ff

Please sign in to comment.