Skip to content

Commit

Permalink
✨ DI CSS touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Dec 18, 2023
1 parent 2ebcabe commit 02dbe5e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions site/gdocs/pages/DataInsight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,16 @@
.data-insight-meta__copy-link-button {
@include light-blue-button;
background-color: $blue-20;
padding: 10px 0;
padding: 9.5px 0;
min-width: 140px;
margin-top: 24px;
border-radius: 0;
&:hover {
background-color: $blue-10;
}
svg {
height: 16px;
height: 14px;
color: $blue-60;
margin-right: 8px;
}
}
Expand Down Expand Up @@ -103,6 +105,7 @@
margin-bottom: 48px;
h1 {
margin-top: 0;
margin-bottom: 24px;
}

// the tags block adds padding that we need to compensate for
Expand All @@ -112,6 +115,7 @@

.article-block__image {
outline: 1px solid $blue-10;
margin-top: 24px;
}

@include md-down {
Expand All @@ -121,7 +125,10 @@
}

.data-insight-blocks {
*:last-child {
> *:first-child {
margin-top: 0;
}
> *:last-child {
margin-bottom: 0;
}
}
Expand Down Expand Up @@ -261,7 +268,7 @@
.data-insights-index-page__pagination {
margin-bottom: 24px;
display: flex;
justify-content: space-between;
justify-content: center;
a {
color: $blue-60;
min-width: 40px;
Expand All @@ -283,6 +290,7 @@
}
a.data-insights-index-page__pagination-link--active {
background-color: $blue-20;
color: $blue-90;
pointer-events: none;
}
}
4 changes: 2 additions & 2 deletions site/gdocs/pages/DataInsight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const DataInsightMeta = (props: {
<span className="data-insight-meta__published-at h6-black-caps">
{publishedAt}
</span>
<span className="data-insight-meta__authors">
<span className="data-insight-meta__authors body-3-medium">
{formatAuthors({ authors: props.authors })}
</span>
</div>
Expand All @@ -125,7 +125,7 @@ const DataInsightMeta = (props: {
</label>
<button
id="copy-link-button"
className="data-insight-meta__copy-link-button"
className="data-insight-meta__copy-link-button body-3-medium"
onClick={() => {
copyToClipboard(
`${BAKED_BASE_URL}/data-insights/${props.slug}`
Expand Down

0 comments on commit 02dbe5e

Please sign in to comment.