Skip to content

Commit

Permalink
Merge pull request #1 from SharePickle/SharePickle-patch-1
Browse files Browse the repository at this point in the history
Fixed Align Left button not working.
  • Loading branch information
SharePickle committed Dec 6, 2019
2 parents bc3baf5 + 35393df commit 59551bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/richText/RichTextPropertyPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export default class RichTextPropertyPane extends React.Component<IRichTextPrope
id="left-propertyPaneButton"
calloutProps={{ gapSpace: 0 }}>
<IconButton checked={this.state.formats!.align === undefined}
onClick={() => this.applyFormat('align', 'left')}
onClick={() => this.applyFormat('align', undefined)}
className={styles.propertyPaneButton}
aria-describedby="left-propertyPaneButton"
iconProps={{
Expand Down

0 comments on commit 59551bb

Please sign in to comment.