fix(style): error message overlap input box

This commit is contained in:
jialin
2026-03-19 14:02:16 +08:00
parent f2fe080f7b
commit 73f3cfceb1
4 changed files with 4 additions and 4 deletions
@@ -219,7 +219,7 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
</> </>
</div> </div>
{tokenResult && ( {tokenResult && (
<div style={{ height: 40 }}> <div style={{ minHeight: 40 }}>
<AlertInfo <AlertInfo
type="danger" type="danger"
message={tokenResult?.errorMessage} message={tokenResult?.errorMessage}
@@ -480,7 +480,7 @@ const GroundSTT: React.FC<MessageProps> = forwardRef((props, ref) => {
</div> </div>
)} )}
{tokenResult && ( {tokenResult && (
<div style={{ height: 40 }}> <div style={{ minHeight: 40 }}>
<AlertInfo <AlertInfo
type="danger" type="danger"
message={tokenResult?.errorMessage} message={tokenResult?.errorMessage}
@@ -454,7 +454,7 @@ const GroundTTS: React.FC<MessageProps> = forwardRef((props, ref) => {
</div> </div>
</div> </div>
{tokenResult && ( {tokenResult && (
<div style={{ height: 40 }}> <div style={{ minHeight: 40 }}>
<AlertInfo <AlertInfo
type="danger" type="danger"
message={tokenResult?.errorMessage} message={tokenResult?.errorMessage}
@@ -436,7 +436,7 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
</div> </div>
<div className="ground-left-footer" style={{ padding: 10 }}> <div className="ground-left-footer" style={{ padding: 10 }}>
{tokenResult && ( {tokenResult && (
<div style={{ height: 40 }}> <div style={{ minHeight: 40 }}>
<AlertInfo <AlertInfo
type="danger" type="danger"
message={tokenResult?.errorMessage} message={tokenResult?.errorMessage}