style(padding) Fix style issue on small screens (x-overflow)

This commit is contained in:
Thomas 2024-03-23 07:40:59 +00:00
parent 15d021df8c
commit 60efe133eb
2 changed files with 7 additions and 7 deletions

View file

@ -55,10 +55,6 @@
</span>
{daysSinceLastPublish === 1 ? "day" : "days"} since I last published something.
</p>
<p>
I write about fun software I've built alone, Real Software™ I built in
teams, books I read, things I am sewing, and other things.
</p>
<p>
I have written {numberOfBlogPostsThisYear}
{numberOfBlogPostsThisYear === 1 ? "piece" : "pieces"} so far this year. On

View file

@ -33,7 +33,7 @@
</p>
<p class="body">Here are some things I've written recently:</p>
<ol>
<ol class="latest-blog-posts">
{#each latestBlogPosts as post}
<li>
<a href="/blog/{post.slug}">{post.title}</a> ({formatDate(
@ -62,13 +62,13 @@
font-family: monospace;
display: grid;
place-items: center;
padding: 0 12px;
}
a,
ol,
li,
p,
blockquote {
p {
color: var(--text-color);
font-family: inherit;
width: 100%;
@ -84,4 +84,8 @@
.body {
text-align: left;
}
.latest-blog-posts {
list-style-position: inside;
}
</style>