We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616ef6a commit 9f6baedCopy full SHA for 9f6baed
frontend/islands/GlobalSearch.tsx
@@ -258,6 +258,7 @@ export function GlobalSearch(
258
: "Search for documentation";
259
const placeholder = kindPlaceholder +
260
(macLike !== undefined ? ` (${macLike ? "⌘K" : "Ctrl+K"})` : "");
261
+
262
return (
263
<div ref={ref} class="pointer-events-auto">
264
<form
@@ -273,7 +274,7 @@ export function GlobalSearch(
273
274
<input
275
type="search"
276
name="search"
- class={`w-full h-full search-input bg-white/90 ${
277
+ class={`w-full h-full search-input bg-white/90 truncate ${
278
kind === "packages" ? "!text-transparent" : ""
279
} !caret-black input rounded-r-none ${sizeClasses} relative`}
280
placeholder={placeholder}
0 commit comments