diff --git a/pkg/interface/chat/src/css/custom.css b/pkg/interface/chat/src/css/custom.css index 972413079..65484848a 100644 --- a/pkg/interface/chat/src/css/custom.css +++ b/pkg/interface/chat/src/css/custom.css @@ -71,7 +71,7 @@ h2 { } .clamp-attachment { - overflow: scroll; + overflow: auto; max-height: 10em; max-width: 100%; } diff --git a/pkg/interface/chat/src/js/components/lib/message.js b/pkg/interface/chat/src/js/components/lib/message.js index 927109e8b..838d56017 100644 --- a/pkg/interface/chat/src/js/components/lib/message.js +++ b/pkg/interface/chat/src/js/components/lib/message.js @@ -65,17 +65,17 @@ export class Message extends Component { (!!letter.code.output && letter.code.output.length && letter.code.output.length > 0) ? ( -
+          
             {letter.code.output[0].join('\n')}
           
) : null; return ( - -
+        
+
             {letter.code.expression}
           
{outputElement} - +
); } else if ('url' in letter) { let imgMatch =