feat(providers): tighten Add Provider header spacing and add footer hint

- Reduce title->tabs and tabs->card vertical gaps from 24px to 12px
- Add an always-visible footer hint guiding users to fill the fields
  below after choosing a preset (pinned footer, never scrolls off)
- FullScreenPanel: add optional contentClassName prop to scope content
  padding overrides without affecting the other panels that share it
- i18n: add provider.addFooterHint in zh/en/ja/zh-TW
This commit is contained in:
Jason
2026-06-19 17:37:43 +08:00
parent e648b7425e
commit a3b3a06f5e
6 changed files with 18 additions and 1 deletions
@@ -280,6 +280,9 @@ export function AddProviderDialog({
const footer =
!showUniversalTab || activeTab === "app-specific" ? (
<>
<span className="mr-auto min-w-0 text-xs text-muted-foreground truncate">
{t("provider.addFooterHint")}
</span>
<Button
variant="outline"
onClick={() => onOpenChange(false)}
@@ -322,6 +325,7 @@ export function AddProviderDialog({
title={t("provider.addNewProvider")}
onClose={() => onOpenChange(false)}
footer={footer}
contentClassName="pt-3"
>
{showUniversalTab ? (
<Tabs