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,10 +46,8 @@ const Btn = styled.button<Omit<Props, 'href'>>`
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@media (min-width: 768px) {
|
||||
color: ${({ variant }) => (variant === 'outline' ? 'var(--background)' : 'inherit')};
|
||||
}
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
transform: scaleX(1);
|
||||
|
||||
Reference in New Issue
Block a user