Use scss instead of inline styles
This commit is contained in:
parent
f65eff103e
commit
d76adde1ab
3 changed files with 24 additions and 1 deletions
|
@ -124,7 +124,7 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
|||
"mx_GroupLayout": this.props.layout == Layout.Group,
|
||||
});
|
||||
|
||||
if (!this.props.userId) return <div className={className} style={{ padding: '9px 0' }}><Spinner /></div>;
|
||||
if (!this.props.userId) return <div className={classnames("mx_EventTilePreview_loader", className)}><Spinner /></div>;
|
||||
|
||||
const event = this.fakeEvent(this.state);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue