STYLE Add custom styles for post-card component to handle target='_blank' links
This commit is contained in:
parent
72d25246f2
commit
615172778d
|
|
@ -1,6 +1,10 @@
|
||||||
.post-card {
|
.post-card {
|
||||||
@apply bg-white border border-primary p-6 block;
|
@apply bg-white border border-primary p-6 block;
|
||||||
transition: transform 0.3s ease-out;
|
transition: transform 0.3s ease-out;
|
||||||
|
|
||||||
|
&[target='_blank']::after {
|
||||||
|
@apply content-none;
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: translateY(-4px);
|
transform: translateY(-4px);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user