mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-10 13:14:04 +03:00
Merge pull request #471 from filecoin-project/@tarafanlin/nits
nits styling
This commit is contained in:
commit
92daaaabca
@ -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;
|
||||
|
@ -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" }} />
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user