fix: alert info height
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user