aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Animations/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Animations/index.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Animations/index.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/dev-tools-pages/ts/components/Animations/index.tsx b/packages/dev-tools-pages/ts/components/Animations/index.tsx
index da3e78193..7f7b36c21 100644
--- a/packages/dev-tools-pages/ts/components/Animations/index.tsx
+++ b/packages/dev-tools-pages/ts/components/Animations/index.tsx
@@ -69,9 +69,12 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState>
};
}
-const Container = styled.div`
+const Container =
+ styled.div <
+ AnimationProps >
+ `
width: 100%;
- height: ${(props: { height: number }) => props.height}px;
+ height: ${props => props.height}px;
position: absolute;
top: 40%;
left: 0;