Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelog/unreleased/batch-import-confirm-modal-width.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### English

- Accounts batch-import confirm dialog is wider (`md` / ~32rem) with slightly roomier padding so the provider card, region toggle, and actions are less cramped.

### 中文

- 账号批量导入确认弹窗加宽(`md` / 约 32rem),内边距略增,提供商卡片、区域切换与操作按钮不再显得挤。
8 changes: 4 additions & 4 deletions frontend/src/components/account/BatchImportConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export function BatchImportConfirmModal({
}}
>
<Modal.Backdrop variant="blur" isDismissable={!isPending}>
<Modal.Container placement="center" size="sm" scroll="inside" className="mx-3 w-full max-w-[min(100%,24rem)] sm:mx-0">
<Modal.Container placement="center" size="md" scroll="inside" className="mx-3 w-full max-w-[min(100%,32rem)] sm:mx-0">
<Modal.Dialog>
<Modal.Header className="items-start justify-between gap-4 px-5 pt-5">
<Modal.Header className="items-start justify-between gap-4 px-6 pt-6">
<div className="min-w-0">
<Modal.Heading className="text-section font-semibold">{t('batchImportConfirmTitle')}</Modal.Heading>
<p className="mt-1 break-all text-caption leading-5 text-muted">
Expand All @@ -81,7 +81,7 @@ export function BatchImportConfirmModal({
<X size={16} />
</Modal.CloseTrigger>
</Modal.Header>
<Modal.Body className="space-y-4 px-5 pb-2">
<Modal.Body className="space-y-4 px-6 pb-2">
<div className="rounded-xl bg-surface-secondary px-3.5 py-3">
<div className="flex items-center gap-2.5">
{provider ? <ProviderMark provider={provider} size={18} /> : null}
Expand Down Expand Up @@ -122,7 +122,7 @@ export function BatchImportConfirmModal({
</ul>
) : null}
</Modal.Body>
<Modal.Footer className="flex-col-reverse gap-2 px-5 pb-5 sm:flex-row sm:justify-end">
<Modal.Footer className="flex-col-reverse gap-2 px-6 pb-6 sm:flex-row sm:justify-end">
<Button size="sm" variant="ghost" className="w-full sm:w-auto" isDisabled={isPending} onPress={onClose}>
{supported ? t('cancel') : t('close')}
</Button>
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions internal/webui/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<meta name="twitter:title" content="CLI2API" />
<meta name="twitter:description" content="Qoder CLI → OpenAI-compatible API. Self-hosted gateway." />
<meta name="twitter:image" content="/og-card.svg" />
<script type="module" crossorigin src="/assets/index-Bt-z4rbc.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BmP9-zzt.css">
<script type="module" crossorigin src="/assets/index-DMkMxAkN.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B-XkUlBl.css">
</head>
<body>
<div id="root"></div>
Expand Down
Loading