From 8490c31fb7ff788d725b7636cd6bce7b2ae13ac4 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Mon, 17 Dec 2018 14:03:14 +0100 Subject: Tweak configurator --- packages/website/ts/@next/pages/instant/code_demo.tsx | 15 +++++++++++---- packages/website/ts/@next/pages/instant/configurator.tsx | 4 ++++ 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'packages/website/ts/@next/pages') diff --git a/packages/website/ts/@next/pages/instant/code_demo.tsx b/packages/website/ts/@next/pages/instant/code_demo.tsx index 35eaf6b2a..04556123e 100644 --- a/packages/website/ts/@next/pages/instant/code_demo.tsx +++ b/packages/website/ts/@next/pages/instant/code_demo.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import * as CopyToClipboard from 'react-copy-to-clipboard'; import SyntaxHighlighter from 'react-syntax-highlighter'; -import { Button } from 'ts/components/ui/button'; +import { Button } from 'ts/@next/components/button'; import { Container } from 'ts/components/ui/container'; import { styled } from 'ts/style/theme'; import { zIndex } from 'ts/style/z_index'; @@ -161,9 +161,9 @@ export class CodeDemo extends React.Component { - + + {copyButtonText} + @@ -176,3 +176,10 @@ export class CodeDemo extends React.Component { this.setState({ didCopyCode: true }); }; } + +const StyledButton = styled(Button)` + border-radius: 4px; + font-size: 15px; + font-weight: 400; + padding: 9px 21px 7px; +`; diff --git a/packages/website/ts/@next/pages/instant/configurator.tsx b/packages/website/ts/@next/pages/instant/configurator.tsx index e4334eabb..007526396 100644 --- a/packages/website/ts/@next/pages/instant/configurator.tsx +++ b/packages/website/ts/@next/pages/instant/configurator.tsx @@ -100,4 +100,8 @@ export class Configurator extends React.Component { const HeadingWrapper = styled.div` display: flex; justify-content: space-between; + + a { + transform: translateY(-8px); + } `; -- cgit