style: playground bold text

This commit is contained in:
jialin
2025-07-17 17:26:34 +08:00
parent ddbbe92a85
commit 04ee696f6a
10 changed files with 10 additions and 23 deletions
@@ -151,7 +151,7 @@ const ParamsSettings: React.FC<ParamsSettingsProps> = forwardRef(
<div>
{
<>
<h3 className="m-b-20 font-size-14 line-24 font-600">
<h3 className="m-b-20 font-size-14 line-24 font-500">
{parametersTitle || (
<span>
{intl.formatMessage({ id: 'playground.parameters' })}
@@ -250,11 +250,7 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
minRows: 5,
maxRows: 5
}}
title={
<span className="font-600">
{intl.formatMessage({ id: 'playground.image.prompt' })}
</span>
}
title={intl.formatMessage({ id: 'playground.image.prompt' })}
loading={loading}
disabled={!parameters.model}
isEmpty={!imageList.length}
@@ -367,11 +367,7 @@ const GroundTTS: React.FC<MessageProps> = forwardRef((props, ref) => {
minRows: 5,
maxRows: 5
}}
title={
<span className="font-600">
{intl.formatMessage({ id: 'playground.audio.textinput' })}
</span>
}
title={intl.formatMessage({ id: 'playground.audio.textinput' })}
onCheck={handleOnCheckChange}
loading={loading}
disabled={!parameters.model}
@@ -390,7 +390,7 @@ const MessageInput: React.FC<MessageInputProps> = forwardRef(
<div className="messageInput" style={{ ...style }}>
<div className="tool-bar">
<div className="actions">
{title}
{title && <span className="font-500">{title}</span>}
{actions.includes('role') && (
<>
<Button