From 7daf995e0d78d6f0065d67655668f4832c45bcf0 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 28 Nov 2018 11:10:17 -0800 Subject: fix(website): change instant marketing page styling to non mono font except the 0 in 0x --- packages/website/ts/components/ui/text.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/components') diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx index c13e21913..87239a021 100644 --- a/packages/website/ts/components/ui/text.tsx +++ b/packages/website/ts/components/ui/text.tsx @@ -3,7 +3,7 @@ import { darken } from 'polished'; import * as React from 'react'; import { styled } from 'ts/style/theme'; -export type TextTag = 'p' | 'div' | 'span' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'i'; +export type TextTag = 'p' | 'div' | 'span' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'i' | 'span'; export interface TextProps { className?: string; -- cgit From 0a1425d8d8757e26d8c23d14843e1d8ed0b90a33 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 28 Nov 2018 12:52:01 -0800 Subject: fix(website): instant marketing page shadows --- packages/website/ts/components/ui/image.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/website/ts/components') diff --git a/packages/website/ts/components/ui/image.tsx b/packages/website/ts/components/ui/image.tsx index c8d39352b..d698ddaa0 100644 --- a/packages/website/ts/components/ui/image.tsx +++ b/packages/website/ts/components/ui/image.tsx @@ -10,6 +10,7 @@ export interface ImageProps { height?: string | number; maxWidth?: string | number; maxHeight?: string | number; + additionalStyle?: React.CSSProperties; } interface ImageState { imageLoadFailed: boolean; @@ -30,6 +31,7 @@ export class Image extends React.Component { onError={this._onError.bind(this)} src={src} style={{ + ...this.props.additionalStyle, borderRadius: this.props.borderRadius, maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, -- cgit