Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #268 from newrelic/tabatha/align-catalog-headers
Browse files Browse the repository at this point in the history
Align catalog headers and carousel margins
  • Loading branch information
zstix authored Jul 12, 2022
2 parents fbd4898 + 299d7ff commit 31427bf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/components/QuickstartDashboards.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ const QuickstartDashboards = ({ quickstart }) => {
css={css`
width: 62px;
height: 62px;
margin-left: -3.5rem;
margin-left: -2rem;
@media screen and (max-width: ${MOBILE_BREAKPOINT}) {
margin-left: -1.5rem;
margin-left: -1.6rem;
}
`}
/>
Expand All @@ -38,9 +38,9 @@ const QuickstartDashboards = ({ quickstart }) => {
css={css`
width: 62px;
height: 62px;
margin-right: -3.5rem;
margin-right: -2rem;
@media screen and (max-width: ${MOBILE_BREAKPOINT}) {
margin-right: -2rem;
margin-right: -1.5rem;
}
`}
/>
Expand Down
9 changes: 7 additions & 2 deletions src/components/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ input[type='text'] {
}

.slick-list {
margin: 0 -2px !important;
margin: 0 -6.5px !important;
}

.slick-dots li button {
Expand All @@ -110,6 +110,10 @@ input[type='text'] {

.slick-prev {
z-index: 100;
left: -27px !important;
}
.slick-next {
right: -28px !important;
}

.slick-disabled .arrow-bg {
Expand All @@ -125,13 +129,14 @@ input[type='text'] {
display: flex !important;
margin-top: 2px;
flex-direction: row;
column-gap: 15px;
column-gap: 0px;
flex-wrap: nowrap;
align-items: flex-start;
}

.slick-slide {
height: inherit !important;
margin: 6.5px !important;
}

@media only screen and (max-width: 425px) {
Expand Down
10 changes: 5 additions & 5 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const TRIPLE_COLUMN_BREAKPOINT = '1420px';
const DOUBLE_COLUMN_BREAKPOINT = '1180px';
const SINGLE_COLUMN_BREAKPOINT = '900px';
const COLUMN_BREAKPOINT = '1131px';
//used to set the height of the Spinner to reduce layout shift on page load
// used to set the height of the Spinner to reduce layout shift on page load
const TILE_HEIGHT = '362px';

/**
Expand Down Expand Up @@ -384,7 +384,7 @@ const QuickstartsPage = ({ data, location }) => {
>
<div
css={css`
padding: 32px 0 32px 32px;
padding: 24px 0 32px 32px;
height: 100%;
overflow: auto;
Expand All @@ -393,7 +393,7 @@ const QuickstartsPage = ({ data, location }) => {
font-size: 28px;
line-height: 36px;
font-weight: normal;
margin-bottom: 12px;
margin-bottom: 23px;
letter-spacing: -0.5px;
}
@media screen and (max-width: ${QUICKSTARTS_COLLAPSE_BREAKPOINT}) {
Expand Down Expand Up @@ -589,7 +589,7 @@ const QuickstartsPage = ({ data, location }) => {
font-size: 16px;
color: var(--color-neutrals-800);
align-text: center;
margin: 0 0 13px 4px;
margin: 0 0 13px 0;
span {
}
strong {
Expand Down Expand Up @@ -641,7 +641,7 @@ const QuickstartsPage = ({ data, location }) => {
font-size: 16px;
color: var(--color-neutrals-800);
align-text: center;
margin: 75px 0 13px 4px;
margin: 75px 0 13px 0;
strong {
font-family: 'Söhne-Leicht';
Expand Down

0 comments on commit 31427bf

Please sign in to comment.