mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
Add missing display: block to Current expiry Text
The original <div> was block-level by default. The replacement <Text type="secondary"> renders inline, causing it to flow into the preceding form field. Add display: "block" to match the sibling New expiry element. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6fc1937d33
commit
63525d1215
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ export function RegenerateKeyModal({ selectedToken, visible, onClose, onKeyUpdat
|
|||
<Form.Item name="duration" label="Expire Key (eg: 30s, 30h, 30d)" style={{ marginTop: 32 }}>
|
||||
<Input placeholder="" />
|
||||
</Form.Item>
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>
|
||||
<Text type="secondary" style={{ fontSize: 12, display: "block" }}>
|
||||
Current expiry: {selectedToken?.expires ? new Date(selectedToken.expires).toLocaleString() : "Never"}
|
||||
</Text>
|
||||
{newExpiryTime && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue