Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(web): restore content-sized search shortcut keycap (#42097)

yyh3e44b51d7a6b
diff --git a/web/app/components/main-nav/components/search-button.tsx b/web/app/components/main-nav/components/search-button.tsx
index bdf3d0bad89..509b1a4c5cb 100644
--- a/web/app/components/main-nav/components/search-button.tsx
+++ b/web/app/components/main-nav/components/search-button.tsx
@@ -49,7 +49,7 @@ export function MainNavSearchButton({
<Kbd
aria-hidden="true"
data-pending={displayPlatform === null ? '' : undefined}
- className="h-4.5 w-9 min-w-0 shrink-0 rounded-[5px] border border-divider-deep bg-components-badge-bg-dimm px-1 py-0.5 system-2xs-medium-uppercase text-text-tertiary data-pending:invisible"
+ className="h-4.5 min-w-0 shrink-0 rounded-[5px] border border-divider-deep bg-components-badge-bg-dimm px-1 py-0.5 system-2xs-medium-uppercase text-text-tertiary data-pending:invisible"
>
{displayPlatform !== null &&
GOTO_ANYTHING_HOTKEY.split('+').map((key) => (