From b0b66ae57045c2a02282ecfeca63d5442b5fea41 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 16 Mar 2026 21:13:47 -0500 Subject: fix blog post wrapping --- theme/static/styles.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'theme/static/styles.css') diff --git a/theme/static/styles.css b/theme/static/styles.css index 28fa747..74040e6 100644 --- a/theme/static/styles.css +++ b/theme/static/styles.css @@ -3,8 +3,10 @@ a, a:visited { color: #0000ff; } nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; } nav ul li { padding-right: 0.5rem;} img { max-width: 100%; } -.post-list-item { display: flexbox; list-style: none; } -.post-list-item time { padding-right: 0.5rem; } +.post-list { padding: 0; } +.post-list-item { display: flex; list-style: none; align-items: baseline; } +.post-list-item time { padding-right: 0.5rem; white-space: nowrap; } +.post-list-item a { flex-grow: 1; white-space: normal; } .post-list-year { list-style: none; margin-top: 1rem; margin-bottom: 0.5rem; font-weight: bold; } .skip-link { display: none; } footer { margin: 2rem 0;} -- cgit v1.2.3