Merge pull request #471 from filecoin-project/@tarafanlin/nits

nits styling
This commit is contained in:
CAKE 2020-12-08 22:58:44 -08:00 committed by GitHub
commit 92daaaabca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -8,7 +8,7 @@ const STYLES_ROOT = css`
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 24px 88px 24px 44px;
padding: 24px 64px;
width: 100%;
height: 100%;
margin: 0 auto;

View File

@ -271,9 +271,7 @@ export class SlatePreviewBlock extends React.Component {
<div style={{ width: `85%` }}>
<div css={STYLES_TITLE}>{this.props.slate.data.name}</div>
{this.props.slate.data.body ? (
<div css={STYLES_BODY}>
<ProcessedText text={this.props.slate.data.body} />
</div>
<div css={STYLES_BODY}>{this.props.slate.data.body}</div>
) : (
<div style={{ height: "8px" }} />
)}