Merge branch 'pkova/master' (#2178)

* pkova/master:
  chat: fix wrong font-size on certain pre-elements

Signed-off-by: Jared Tobin <jared@tlon.io>
This commit is contained in:
Jared Tobin 2020-01-27 10:13:23 +04:00
commit cc12ff835e
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -33,13 +33,13 @@ export class Message extends Component {
(!!letter.code.output &&
letter.code.output.length && letter.code.output.length > 0) ?
(
<pre className="clamp-attachment pa1 mt0 mb0">
<pre className="f7 clamp-attachment pa1 mt0 mb0">
{letter.code.output[0].join('\n')}
</pre>
) : null;
return (
<span>
<pre className="clamp-attachment pa1 mt0 mb0 bg-light-gray">
<pre className="f7 clamp-attachment pa1 mt0 mb0 bg-light-gray">
{letter.code.expression}
</pre>
{outputElement}