Collapse inline TW CSS into stylesheet.

This commit is contained in:
Benjamin A. Shelton 2026-07-06 16:15:18 -06:00
commit c4959e822e
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ const { notes } = Astro.props;
<div id="notes-list">
<ul>{notes.map((note: CollectionEntry<'notes'>) => (
<li>
<div class="relative overflow-hidden header-image">
<div class="header-image">
<img src={urlfrag(base, note.data.post_image)} class="rounded-md" />
</div>
<ul class="tags relative">

View file

@ -130,7 +130,7 @@ footer {
}
#notes-list ul > li .header-image {
@apply rounded-lg shadow-md shadow-gray-300;
@apply relative overflow-hidden rounded-lg shadow-md shadow-gray-300;
@apply dark:shadow-gray-900;
}