Skip to content

Commit

Permalink
💄 (sources) minor style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Dec 29, 2023
1 parent 6c143bc commit e5172fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const DataCitation = (props: {
citationLong: string
}) => {
return (
<>
<div className="data-citation">
{props.citationShort && (
<>
<p className="citation__paragraph">
Expand All @@ -33,6 +33,6 @@ export const DataCitation = (props: {
/>
</>
)}
</>
</div>
)
}
6 changes: 6 additions & 0 deletions packages/@ourworldindata/grapher/src/modal/SourcesModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,17 @@
margin-right: $tab-gap;
}

.data-citation .wp-code-snippet {
margin-bottom: 16px;
}

.citation__paragraph {
color: $light-text;
}

.citation__type {
display: block;
line-height: 1.5;
color: $dark-text;
font-weight: 500;
}
Expand Down

0 comments on commit e5172fe

Please sign in to comment.