fix: alert info height

This commit is contained in:
jialin
2026-03-20 17:23:55 +08:00
committed by jialin
parent 6c88a5554f
commit 8b5e407758
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -215,7 +215,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}
+1 -1
View File
@@ -433,7 +433,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}
+1 -1
View File
@@ -429,7 +429,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}
+1 -1
View File
@@ -316,7 +316,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}