feat: remove box shadow and add horizontal padding to hover effect line
This commit is contained in:
parent
edf20d7064
commit
75d7ae2de6
@ -293,10 +293,9 @@ export default function HomePage() {
|
|||||||
|
|
||||||
{/* Hover effect line */}
|
{/* Hover effect line */}
|
||||||
<div
|
<div
|
||||||
className="absolute bottom-0 left-0 right-0 h-[2px] opacity-0 group-hover:opacity-100 transition-opacity duration-300"
|
className="absolute bottom-0 left-6 right-6 h-[2px] opacity-0 group-hover:opacity-100 transition-opacity duration-300"
|
||||||
style={{
|
style={{
|
||||||
background: `linear-gradient(90deg, transparent, ${feature.color}, transparent)`,
|
background: `linear-gradient(90deg, transparent, ${feature.color}, transparent)`,
|
||||||
boxShadow: `0 0 10px ${feature.color}`
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user