Collapse inline TW CSS into stylesheet.
This commit is contained in:
parent
2367c25b43
commit
c4959e822e
2 changed files with 2 additions and 2 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue