Skip to content

Commit

Permalink
fix: align sources with other viz
Browse files Browse the repository at this point in the history
  • Loading branch information
dana-cfc4 committed Oct 12, 2023
1 parent bb73a31 commit b0e38bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
9 changes: 5 additions & 4 deletions src/Utils/Sources/Sources.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ const Source = ({ source }) => {
return (
<>
<Link className="embed-sources-param-title" href={source.link}>
{source.title},{' '}
<span className="embed-sources-param-description">
{source.organisation}
</span>
{source.title}
</Link>
,
<span className="embed-sources-param-description">
{source.organisation}
</span>
</>
);
};
Expand Down
13 changes: 4 additions & 9 deletions src/less/tableau.less
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,6 @@
&::before {
background-color: @grey-1;
}

.sources-list > li,
.sources-list > li > * {
color: @textColor;
}

a:hover {
color: @secondaryColor;
}
}

.sources-list {
Expand All @@ -212,6 +203,10 @@
padding-inline-start: 0;
}

.embed-sources-param-description {
margin-left: 5px;
}

@media screen and (max-width: @largestMobileScreen) {
.ui.popup {
min-width: 300px;
Expand Down

0 comments on commit b0e38bd

Please sign in to comment.