fix: update snapshot styles for InputEmbeddingDimension and Spinner components

- Adjusted the flex style for the InputEmbeddingDimension component to improve layout consistency.
- Removed the unset color style from the Spinner component to ensure default styling is applied.
This commit is contained in:
fullex 2025-10-22 01:01:21 +08:00
parent b5b577dc79
commit 75d7ed075b
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ exports[`InputEmbeddingDimension > basic rendering > should match snapshot with
<input
data-testid="input-number"
placeholder="请输入维度大小"
style="flex: 1 1 0%;"
style="flex: 1;"
type="number"
value="1536"
/>
@ -43,7 +43,7 @@ exports[`InputEmbeddingDimension > basic rendering > should match snapshot with
<input
data-testid="input-number"
placeholder="请输入维度大小"
style="flex: 1 1 0%;"
style="flex: 1;"
type="number"
value=""
/>

View File

@ -24,7 +24,6 @@ exports[`Spinner > should match snapshot 1`] = `
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
style="color: unset;"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"