Skip to content

Commit

Permalink
Fix for incorrect font size in metadatalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jesade-vbg committed Aug 24, 2023
1 parent c336a7e commit 92fbf3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,11 @@ class LayerGroupItem extends Component {
if (infoUrl) {
return (
<InfoTextContainer>
<a href={infoUrl} target="_blank" rel="noopener noreferrer">
{infoUrlText || infoUrl}
</a>
<Typography variant="body2" component="div">
<a href={infoUrl} target="_blank" rel="noopener noreferrer">
{infoUrlText || infoUrl}
</a>
</Typography>
</InfoTextContainer>
);
} else {
Expand Down
8 changes: 5 additions & 3 deletions new-client/src/plugins/LayerSwitcher/components/LayerItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,11 @@ class LayerItem extends React.PureComponent {
if (this.infoUrl) {
return (
<InfoTextContainer>
<a href={this.infoUrl} target="_blank" rel="noopener noreferrer">
{this.infoUrlText || this.infoUrl}
</a>
<Typography variant="body2" component="div">
<a href={this.infoUrl} target="_blank" rel="noopener noreferrer">
{this.infoUrlText || this.infoUrl}
</a>
</Typography>
</InfoTextContainer>
);
} else {
Expand Down

0 comments on commit 92fbf3f

Please sign in to comment.