STYLE modify article card CSS to adjust SVG overflow visibility and refine stroke width on hover for improved visual consistency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-11-26 09:25:51 +01:00
parent f26b31d8bc
commit 15a56b1754

View File

@ -2,18 +2,18 @@
@apply p-6 relative !flex flex-col pt-16; @apply p-6 relative !flex flex-col pt-16;
svg { svg {
@apply absolute top-0 left-0 w-full h-full; @apply absolute top-0 left-0 w-full h-full overflow-visible;
z-index: -1; z-index: -1;
path { path {
stroke-width: 0; stroke-width: 0;
vector-effect: non-scaling-stroke; /* vector-effect: non-scaling-stroke; */
} }
} }
&:hover { &:hover {
svg { svg {
path { path {
stroke-width: 8px; stroke-width: 6px;
} }
} }
&:after { &:after {