---
title: "I fixed lists in my blog"
description: "A small improvement to my blog today. I was checking out my now post and noticed that lists have left padding but no discs or numbers. I popped open my added..."
date: 2025-01-21
published: true
tags:
  - python
  - python
  - python
template: blog-post
---


A small improvement to my blog today. I was checking out my <a href="/now/" class="wikilink" data-title="/now" data-description="This page is meant to be simple view into what is happening in my life right now. Inspired by @NowNowNow. and Derek Sivers." data-date="2025-01-12">/now</a> post and
noticed that lists have left padding but no discs or numbers.  I popped open my
`tailwind/app.css` added these lines and rebuilt.

``` css
#post-body li {
  @apply list-disc;
}
#post-body ol {
  @apply list-decimal;
}
```

And rebuild, which I actually do with <a href="/casey-just/" class="wikilink" data-title="⭐ casey just" data-description="Just starred just by casey. It&#39;s an exciting project with a lot to offer." data-date="2023-10-22">⭐ casey just</a>, but showing the
command here for clarity.

``` bash
npx tailwindcss --input tailwind/app.css --output static/app-39.css
```

## WHY the applies

{.bg-blue-900 .border-r-8 .border-black .rounded-xl .max-w-xl .p-6 .font-bold}
Dude, you know that @apply is an anti-pattern in tailwind right?

{.bg-green-900 .border-l-8 .border-black .rounded-xl .max-w-xl .p-6 .ml-auto .mr-0 .font-bold}
Ya

{.bg-blue-900 .border-r-8 .border-black .rounded-xl .max-w-xl .p-6 .font-bold}
WTF are you doing? this is all wrong.

{.bg-green-900 .border-l-8 .border-black .rounded-xl .max-w-xl .p-6 .ml-auto .mr-0 .font-bold}
I use @apply in my blog because the html is generated by a markdown library,
and changing the html at this low level would be quite difficult, this is easy.

## Before

![image](https://dropper.waylonwalker.com/api/file/5c48f763-5ef6-49b0-9e8f-5167ab046f05.webp)

## After

![image](https://dropper.waylonwalker.com/api/file/0cf1c5d9-0948-444f-9a6c-387d22b9db43.webp)
