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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f26b31d8bc
commit
15a56b1754
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user