Skip to content

Commit 85c6332

Browse files
committed
💄 Improve responsiveness of episode and webtoon list
1 parent 9e096ab commit 85c6332

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/css/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
@apply scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0;
8989
}
9090
h3{
91-
@apply scroll-m-20 text-2xl font-semibold tracking-tight;
91+
@apply scroll-m-20 text-base sm:text-lg md:text-xl lg:text-2xl font-semibold tracking-tight;
9292
}
9393
h4{
9494
@apply scroll-m-20 text-base sm:text-lg md:text-xl lg:text-2xl font-semibold tracking-tight;

components/misc/Image.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const thumbnails = computed(() => {
1616
</script>
1717

1818
<template>
19-
<NuxtImg v-if="!fallback" :src="thumbnails[0]" loading="lazy" format="webp" class="h-30" @error="fallback = true"/>
20-
<NuxtImg v-else :src="thumbnails[1]" loading="lazy" format="webp" class="h-30"/>
19+
<NuxtImg v-if="!fallback" :src="thumbnails[0]" loading="lazy" format="webp" class="h-[5.7rem] sm:h-24 md:h-28 lg:h-32" @error="fallback = true"/>
20+
<NuxtImg v-else :src="thumbnails[1]" loading="lazy" format="webp" class="h-[5.7rem] sm:h-24 md:h-28 lg:h-32"/>
2121
</template>
2222

2323
<style scoped>

0 commit comments

Comments
 (0)