formatting and linting.

pull/1784/head
Warrick Corfe-Tan 4 years ago
parent c944fac426
commit fb81fce331

@ -61,7 +61,6 @@
}
}
&--transparent {
background: none;
}

@ -671,8 +671,8 @@ class MessageInner extends React.PureComponent<MessageRegularProps, State> {
return Boolean(
displayImage &&
((isImage(attachments) && hasImage(attachments)) ||
(isVideo(attachments) && hasVideoScreenshot(attachments)))
((isImage(attachments) && hasImage(attachments)) ||
(isVideo(attachments) && hasVideoScreenshot(attachments)))
);
}
@ -782,9 +782,9 @@ class MessageInner extends React.PureComponent<MessageRegularProps, State> {
className={classNames(
'module-message__container',
`module-message__container--${direction}`,
isShowingImage ?
`module-message__container--${direction}--transparent` :
`module-message__container--${direction}--opaque`
isShowingImage
? `module-message__container--${direction}--transparent`
: `module-message__container--${direction}--opaque`
)}
style={{
width: isShowingImage ? width : undefined,

Loading…
Cancel
Save