Skip to content

Commit 53b4d75

Browse files
committed
fix text underline
1 parent 209d38c commit 53b4d75

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/layout.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import useSiteMetadata from '../hooks/use-sitemetadata';
66

77
const Layout = ({ children }) => {
88
const { title, description, keywords } = useSiteMetadata();
9-
console.log(description)
109
return (
1110
<>
1211
<Global
@@ -59,6 +58,10 @@ const Layout = ({ children }) => {
5958
li {
6059
margin-top: 0.25rem;
6160
}
61+
62+
a {
63+
text-underline-position: under;
64+
}
6265
`}
6366
/>
6467
<Helmet>

src/templates/blogPost.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const PostTemplate = ({ data, pageContext }) => {
3131
margin-right: 0.5rem;
3232
background-color: #fffbea;
3333
`}
34+
key={tag}
3435
>
3536
<ReadLink to={`/tags/${tag}`}>{tag}</ReadLink>
3637
</li>

0 commit comments

Comments
 (0)