Adjust mobile styling
This commit is contained in:
parent
dad4698a0a
commit
aa70f3d509
3 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
tags: Tag[],
|
tags: Tag[],
|
||||||
link: string
|
link: string
|
||||||
)}
|
)}
|
||||||
<div class="mb-10 w-80 space-y-3 md:w-60">
|
<div class="mb-10 w-72 space-y-3 md:w-60">
|
||||||
<Image {image} {tags} class="aspect-[4/5] object-cover" />
|
<Image {image} {tags} class="aspect-[4/5] object-cover" />
|
||||||
<div class="grid grid-cols-[1fr_auto] items-center text-sm">
|
<div class="grid grid-cols-[1fr_auto] items-center text-sm">
|
||||||
<div class="mt-1 pr-4">
|
<div class="mt-1 pr-4">
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
>
|
>
|
||||||
{#each Object.entries(games) as [href, { image, name }]}
|
{#each Object.entries(games) as [href, { image, name }]}
|
||||||
<a
|
<a
|
||||||
class="shadow-sharp flex aspect-[4/1] min-h-20 max-w-sm items-center justify-center rounded-xl border-2 border-current bg-contain bg-no-repeat transition-all {href ===
|
class="shadow-sharp flex aspect-[4/1] h-16 max-w-sm items-center justify-center rounded-xl border-2 border-current bg-contain bg-no-repeat transition-all md:h-20 {href ===
|
||||||
''
|
''
|
||||||
? 'pressed pointer-events-none'
|
? 'pressed pointer-events-none'
|
||||||
: ''}"
|
: ''}"
|
||||||
|
|
|
@ -9,7 +9,7 @@ const config: Config = {
|
||||||
theme: {
|
theme: {
|
||||||
container: {
|
container: {
|
||||||
center: true,
|
center: true,
|
||||||
padding: '2rem',
|
padding: '1rem',
|
||||||
screens: {
|
screens: {
|
||||||
'2xl': '1400px'
|
'2xl': '1400px'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue