prettifies files, I need to format on save...

This commit is contained in:
Travis Kohlbeck 2020-02-18 17:34:20 -05:00
parent a168b614b2
commit 78d7b02085
2 changed files with 11 additions and 13 deletions

View File

@ -7,20 +7,20 @@ export const styles = (theme: Theme) =>
marginBottom: theme.spacing.unit
},
postHeaderContent: {
overflow: 'hidden',
whiteSpace: 'nowrap',
overflow: "hidden",
whiteSpace: "nowrap"
},
postHeaderTitle: {
overflow: 'hidden',
textOverflow: 'ellipsis',
color: theme.palette.text.secondary,
overflow: "hidden",
textOverflow: "ellipsis",
color: theme.palette.text.secondary
},
postAuthorName: {
whiteSpace: 'nowrap',
color: theme.palette.text.primary,
whiteSpace: "nowrap",
color: theme.palette.text.primary
},
postAuthorAccount: {
marginLeft: theme.spacing.unit * 0.5,
marginLeft: theme.spacing.unit * 0.5
},
postReblogChip: {
color: theme.palette.common.white,
@ -101,7 +101,7 @@ export const styles = (theme: Theme) =>
marginBottom: theme.spacing.unit * -0.5,
marginLeft: theme.spacing.unit * 0.5,
marginRight: theme.spacing.unit * 0.5,
color: theme.palette.text.primary,
color: theme.palette.text.primary
},
postAuthorEmoji: {
height: theme.typography.fontSize,

View File

@ -649,7 +649,7 @@ export class Post extends React.Component<any, IPostState> {
<CardHeader
classes={{
content: classes.postHeaderContent,
title: classes.postHeaderTitle,
title: classes.postHeaderTitle
}}
avatar={
<LinkableAvatar
@ -676,9 +676,7 @@ export class Post extends React.Component<any, IPostState> {
</IconButton>
</Tooltip>
}
title={
this.getReblogAuthors(post)
}
title={this.getReblogAuthors(post)}
subheader={moment(post.created_at).format(
"MMMM Do YYYY [at] h:mm A"
)}