Skip to content

Commit

Permalink
fix headings
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Jul 6, 2024
1 parent 4634bf0 commit 30d296a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/Post.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ const { post } = Astro.props;
---

<li class="post-container">
<h3>
<a href={`/blog/${post.slug}`}>
{post.data.title}
</a>
</h3>
<div>
<h3>
<a href={`/blog/${post.slug}`}>
{post.data.title}
</a>
</h3>
</div>

<p class="post-description">
{post.data.summary}
Expand Down
9 changes: 9 additions & 0 deletions src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ h3:hover {
text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
display: inline-block;
}

a:hover {
text-decoration: underline;
}
Expand Down

0 comments on commit 30d296a

Please sign in to comment.