mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-30 18:29:37 +02:00
refactor: Update AdventureCard component layout for responsive design
This commit is contained in:
parent
8ca74ab963
commit
fcc97f4e6e
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="card min-w-max lg:w-96 md:w-80 sm:w-60 xs:w-40 bg-primary-content shadow-xl overflow-hidden text-base-content"
|
class="card w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-md xl:max-w-md bg-primary-content shadow-xl overflow-hidden text-base-content"
|
||||||
>
|
>
|
||||||
<figure>
|
<figure>
|
||||||
<!-- svelte-ignore a11y-img-redundant-alt -->
|
<!-- svelte-ignore a11y-img-redundant-alt -->
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h2 class="card-title break-words max-w-11 text-wrap">
|
<h2 class="card-title break-words text-wrap">
|
||||||
{adventure.name}
|
{adventure.name}
|
||||||
</h2>
|
</h2>
|
||||||
{#if adventure.location && adventure.location !== ""}
|
{#if adventure.location && adventure.location !== ""}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue