Empty state language improvemnts
This commit is contained in:
@@ -152,7 +152,7 @@ class DocumentPreview extends React.Component<Props> {
|
||||
>
|
||||
<Heading>
|
||||
<Title text={document.title} highlight={highlight} />
|
||||
{document.publishedAt && (
|
||||
{!document.isDraft && (
|
||||
<Actions>
|
||||
{document.starred ? (
|
||||
<StyledStar onClick={this.unstar} solid />
|
||||
|
||||
13
app/components/Heading.js
Normal file
13
app/components/Heading.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// @flow
|
||||
import styled from 'styled-components';
|
||||
|
||||
const Heading = styled.h1`
|
||||
display: flex;
|
||||
|
||||
svg {
|
||||
margin-left: -6px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
`;
|
||||
|
||||
export default Heading;
|
||||
Reference in New Issue
Block a user