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

Commit

Permalink
fix: quickstart tile summary overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
aswanson-nr committed Jul 11, 2022
1 parent 37a3892 commit 79ce54e
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/components/QuickstartTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const QuickstartTile = ({
css={css`
--tile-image-height: 100px; /* Logo image height */
--title-row-height: auto; /* Title height to allow space for longer string */
--tile-content-height: 180px;
padding: 0 22px 35px 24px;
overflow: hidden;
height: 360px;
Expand Down Expand Up @@ -95,7 +96,7 @@ const QuickstartTile = ({
display: grid;
align-items: flex-start;
grid-gap: 0.2rem;
grid-template-rows: var(--tile-image-height) 152px auto;
grid-template-rows: var(--tile-image-height) var(--tile-content-height) auto;
grid-template-columns: auto;
grid-template-areas:
'logo logo'
Expand Down Expand Up @@ -141,12 +142,14 @@ const QuickstartTile = ({
<div
css={css`
grid-area: text;
overflow-wrap: anywhere;
height: var(--tile-content-height);
overflow: hidden;
display: flex;
flex-flow: column wrap;
`}
>
<h4
css={css`
grid-area: title;
font-weight: normal;
font-size: 24px;
letter-spacing: -0.5%;
Expand All @@ -156,12 +159,7 @@ const QuickstartTile = ({
{SHIELD_LEVELS.includes(level) && <Icon name="nr-check-shield" />}
</h4>

<div
css={css`
grid-area: summary;
align-self: flex-start;
`}
>
<div>
<p
css={css`
font-size: 18px;
Expand Down

0 comments on commit 79ce54e

Please sign in to comment.