Skip to content

Commit 1604351

Browse files
committed
fix selector
1 parent 4462d01 commit 1604351

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

docs/src/components/InstallSelector.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const defaultOption = highlightedOptions[defaultIndex];
150150
.command-text {
151151
white-space: nowrap;
152152
background: transparent;
153-
min-width: 21ch; /* Fixed width for longest command (curl) */
153+
min-width: 47ch; /* Fixed width for longest command (curl) */
154154
}
155155

156156
/* Remove any background from Shiki-generated spans */

docs/src/content/docs/index.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ export const base = import.meta.env.BASE_URL.endsWith('/') ? import.meta.env.BAS
2222
<div class="hero-command">
2323
<InstallSelector options={[
2424
{ label: "curl", command: "curl https://cli.sentry.dev/install -fsS | bash" },
25-
{ label: "npm", command: "npm install -g sentry" }
25+
{ label: "npx", command: "npx sentry@latest" },
26+
{ label: "npm", command: "npm install -g sentry" },
27+
{ label: "pnpm", command: "pnpm add -g sentry" },
28+
{ label: "bun", command: "bun add -g sentry" }
2629
]} />
27-
<a href="./getting-started/" class="hero-docs-link">Or read the <span class="underline">documentation</span></a>
30+
<a href="./getting-started/" class="hero-docs-link">Or read the <span class="underline">documentation.</span></a>
2831
</div>
2932

3033
<Terminal background="custom" />
@@ -112,4 +115,4 @@ export const base = import.meta.env.BASE_URL.endsWith('/') ? import.meta.env.BAS
112115
</FeatureTerminal>
113116
</div>
114117
</div>
115-
</section>
118+
</section>

0 commit comments

Comments
 (0)