cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

b0b66ae57045c2a02282ecfeca63d5442b5fea41

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-03-17T02:13:47Z

fix blog post wrapping
 theme/static/styles.css | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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;}