From 9fc2265e413cf96d2ef2ba826fd78d570d525513 Mon Sep 17 00:00:00 2001 From: He4eT Date: Sun, 21 May 2023 15:39:57 +0300 Subject: [PATCH] TextMessage: add classnames to all message types --- src/components/Player/TextMessage.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Player/TextMessage.jsx b/src/components/Player/TextMessage.jsx index 990a85a..a89ea48 100644 --- a/src/components/Player/TextMessage.jsx +++ b/src/components/Player/TextMessage.jsx @@ -2,15 +2,15 @@ import { h } from 'preact' export default function ({ style, text }) { const defaultContent = ( - + {text} ) return ({ grid: (
{text} 
), - input: (> {text}), - subheader: ({text}), - emphasized: ({text}), + input: (> {text}), + subheader: ({text}), + emphasized: ({text}), endOfLine: (
) })[style] || defaultContent }