1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix storybook typography display

This commit is contained in:
Matthias Kretschmann 2020-07-13 23:48:19 +02:00
parent e06e743320
commit 8b6d2d5f33
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 8 additions and 6 deletions

View File

@ -7,6 +7,7 @@ import {
} from '@reach/router'
// Import global css with custom properties once for all stories.
import '@oceanprotocol/typographies/css/ocean-typo.css'
import '../src/global/styles.css'
// Wrapper for all stories previews

View File

@ -6,7 +6,7 @@ import squidMock from '../../../../tests/unit/__mocks__/@oceanprotocol/squid'
import { context } from '../../../../tests/unit/__mocks__/web3provider'
export default {
title: 'Organisms/Consume',
title: 'Organisms/Compute',
decorators: [
(storyFn: () => React.FC): ReactElement => (
<div style={{ maxWidth: '40rem', margin: 'auto' }}>{storyFn()}</div>

View File

@ -7,10 +7,11 @@ export default {
export const Body = () => (
<div style={{ maxWidth: '600px' }}>
<p>
Montserrat 400 Ummmto eBay? Oh sure! <a href="">Blame the wizards!</a>{' '}
Hello, little man. <strong>I will destroy you!</strong> Ive been there.
My folks were always on me to groom myself and <em>wear underpants</em>.
What am I, the pope? Leelas gonna kill me.
Sharp Sans Medium. Ummmto eBay? Oh sure!{' '}
<a href="">Blame the wizards!</a> Hello, little man.{' '}
<strong>I will destroy you!</strong> Ive been there. My folks were always
on me to groom myself and <em>wear underpants</em>. What am I, the pope?
Leelas gonna kill me.
</p>
<p>
Yes, I saw. You were doing well, until everyone died. Check it out, yall.
@ -22,7 +23,7 @@ export const Body = () => (
export const Headings = () => (
<>
<h1>Montserrat 600</h1>
<h1>Sharp Sans Display No.1 Bold</h1>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>