mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 11:39:30 +08:00
fix:Avoiding <img> layout shifts
This commit is contained in:
parent
23497a0215
commit
ec3227c838
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@
|
|||
</div>
|
||||
<div class="card-body p-4">
|
||||
<div class="flex flex-col md:flex-row items-start gap-4">
|
||||
<div class="mb-auto max-w-full shrink-0 md:max-w-xs">
|
||||
<img class="rounded-md" src={project.img} alt={project.description} />
|
||||
<div class="mb-auto aspect-video w-full max-w-full shrink-0 md:max-w-xs">
|
||||
<img class="rounded-md " src={project.img} alt={project.description} />
|
||||
</div>
|
||||
<div class="card-title flex-1 flex-col items-start gap-4">
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue