Skip to content

Commit

Permalink
fix(sources-modal): fix style leak in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Oct 19, 2023
1 parent 776e64c commit c0e421c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
border-top: 1px solid #e7e7e7;
}

&__key-information {
&__key-info {
display: flex;
flex-wrap: wrap;
row-gap: 1em;
Expand Down
6 changes: 3 additions & 3 deletions packages/@ourworldindata/grapher/src/modal/SourcesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class Sources extends React.Component<{
{/* ---- Key information ---- */}

{this.hasKeyInformation && (
<section className="key-info">
<div className="key-info">
{this.def.presentation?.attributionWithFallback && (
<div className="key-data">
<div className="key-data__title">Source</div>
Expand Down Expand Up @@ -258,7 +258,7 @@ export class Sources extends React.Component<{
<div>{this.def.nextUpdate}</div>
</div>
)}
</section>
</div>
)}

{/* ---- Description ---- */}
Expand Down Expand Up @@ -310,7 +310,7 @@ export class Sources extends React.Component<{
/>
</p>
{(retrievedOn || retrievedFrom) && (
<div className="origin__key-information">
<div className="origin__key-info">
{retrievedOn && (
<div className="origin__key-data">
<div className="origin__key-data__title">
Expand Down

0 comments on commit c0e421c

Please sign in to comment.