mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Fix outline button style bug
This commit is contained in:
@@ -46,9 +46,7 @@ const Btn = styled.button<Omit<Props, 'href'>>`
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@media (min-width: 768px) {
|
color: ${({ variant }) => (variant === 'outline' ? 'var(--background)' : 'inherit')};
|
||||||
color: ${({ variant }) => (variant === 'outline' ? 'var(--background)' : 'inherit')};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover::before {
|
&:hover::before {
|
||||||
|
|||||||
Reference in New Issue
Block a user