mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
fix(Role): don't show role state svgs on mobile hover
This commit is contained in:
parent
8158ae38f1
commit
f8e7b4f10b
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import { onSmallScreen } from '@roleypoly/design-system/atoms/breakpoints';
|
||||
import { palette } from '@roleypoly/design-system/atoms/colors';
|
||||
import { transitions } from '@roleypoly/design-system/atoms/timings';
|
||||
import styled, { css } from 'styled-components';
|
||||
|
@ -63,6 +64,11 @@ export const Outer = styled.div<StyledProps>`
|
|||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
||||
${Circle} svg {
|
||||
fill-opacity: 1;
|
||||
${onSmallScreen(
|
||||
css`
|
||||
fill-opacity: 0;
|
||||
`
|
||||
)}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue