aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/top-airing
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/anime/top-airing')
-rw-r--r--src/app/anime/top-airing/page.jsx4
-rw-r--r--src/app/anime/top-airing/trending.module.css9
2 files changed, 9 insertions, 4 deletions
diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx
index 297fc45..a6e1efc 100644
--- a/src/app/anime/top-airing/page.jsx
+++ b/src/app/anime/top-airing/page.jsx
@@ -27,8 +27,8 @@ export default async function Trending() {
<Image
src={item.image}
className={styles.trendingImage}
- width={180}
- height={260}
+ width={150}
+ height={230}
alt="Drama"
priority
/>
diff --git a/src/app/anime/top-airing/trending.module.css b/src/app/anime/top-airing/trending.module.css
index bffd7ef..1dcfb9d 100644
--- a/src/app/anime/top-airing/trending.module.css
+++ b/src/app/anime/top-airing/trending.module.css
@@ -30,13 +30,18 @@
.trendingEntries {
margin: 7px;
+ transition: transform 0.2s linear;
+}
+
+.trendingEntries:hover {
+ transition: transform 0.2s linear;
+ transform: scale(0.97);
}
.trendingEntries p {
text-align: center;
margin: 5px auto;
- max-height: 70px;
- overflow-y: auto;
+ width: 140px;
}
.trendingEntries p::-webkit-scrollbar {