diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-11-29 04:52:01 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-11-29 04:52:01 +0800 |
commit | 0a1425d8d8757e26d8c23d14843e1d8ed0b90a33 (patch) | |
tree | 2447b2fe9448ff43bb5a9efdbe9bc4ac42a62da7 /packages/website/ts/components/ui | |
parent | 7daf995e0d78d6f0065d67655668f4832c45bcf0 (diff) | |
download | dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.tar dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.tar.gz dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.tar.bz2 dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.tar.lz dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.tar.xz dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.tar.zst dexon-0x-contracts-0a1425d8d8757e26d8c23d14843e1d8ed0b90a33.zip |
fix(website): instant marketing page shadows
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/image.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
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<ImageProps, ImageState> { onError={this._onError.bind(this)} src={src} style={{ + ...this.props.additionalStyle, borderRadius: this.props.borderRadius, maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, |