File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
packages/app/src/app/components/Preview/DevTools/Tests/TestSummary Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- import styled , { css } from 'styled-components' ;
1+ import styled from 'styled-components' ;
22import SyncIcon from 'react-icons/lib/go/sync' ;
33
44export const Container = styled . div `
@@ -49,13 +49,9 @@ export const TestData = styled.div`
4949` ;
5050
5151export const SyncIconStyled = styled ( SyncIcon ) < { watching : boolean } > `
52- opacity: 0.7;
53- color: ${ props => props . theme [ 'button.hoverBackground' ] } ;
54- ${ props =>
55- props . watching &&
56- css `
57- opacity: 1;
58- ` }
52+ && {
53+ opacity: ${ props => ( props . watching ? 1 : undefined ) } ;
54+ }
5955` ;
6056
6157export const Actions = styled . div `
@@ -69,7 +65,6 @@ export const Actions = styled.div`
6965 cursor: pointer;
7066 opacity: 0.8;
7167 color: ${ props => props . theme [ 'button.hoverBackground' ] } ;
72-
7368 margin-left: 0.5rem;
7469
7570 &:hover {
You can’t perform that action at this time.
0 commit comments