Skip to content

Commit

Permalink
fix: improves the spacing between p tags
Browse files Browse the repository at this point in the history
  • Loading branch information
shivan-s committed Oct 26, 2024
1 parent 37c2148 commit 442cf53
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,15 @@ div.posts-groupby {

small.post-metadata {
display: flex;
flex-wrap: wrap;

& span {
white-space: nowrap;
overflow: hidden;

&#suggest {
text-overflow: ellipsis;
}
}

& span:not(:last-child)::after {
Expand Down Expand Up @@ -385,6 +390,7 @@ div.content {

& code {
font-family: "Monaspace Radon";
border-radius: var(--normal-border-radius);
}

& img {
Expand Down
1 change: 0 additions & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<header>
<h2>{{ .Title }}</h2>
</header>

{{ partial "posts-list.html" . }}
{{ end }}
4 changes: 3 additions & 1 deletion layouts/posts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ <h1>{{ .Title }}</h1>
<span><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></span>
<span title="{{ .WordCount }} words">{{ .ReadingTime }} min</span>
<span>{{ .Params.author }}</span>
<span><a href="{{ .Params.githubRepo }}">Suggest Changes</a></span>
<span id="suggest"
><a href="{{ .Params.githubRepo }}">Suggest Changes</a></span
>
</small>
</header>
<div class="content">{{ .Content }}</div>
Expand Down

0 comments on commit 442cf53

Please sign in to comment.