Commit 4d8552c

HPCesia <me@hpcesia.com>
2025-04-26 10:56:53
fix: banner text color transition duration
1 parent 1baa8a2
Changed files (1)
src
components
src/components/Banner.astro
@@ -39,7 +39,11 @@ const bannerHeight = getBannerHeight(path.pathname);
 <div
   id="banner"
   class="relative max-h-screen overflow-hidden duration-1000"
-  style=`height: ${bannerHeight}; scale: 105%;`
+  style={{
+    height: bannerHeight,
+    scale: '105%',
+    'transition-property': 'height transform',
+  }}
 >
   <div class="h-full w-full">
     <div id="banner-text">