Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Docs: NavBar preview is too short for its dropdown and mobile menu

オープン 初心者向け
#46 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
next.js, react, tailwindcss, typescript
領域
design, frontend

調査の方向性

まず src/components/docs/preview-shell.tsx と、PreviewComponents を registryName="navbar" および fullBleed とともに使っている NavBar のドキュメントページを確認し、ステージのサイズとカードのオーバーフローがどのように影響し合うかを調べます。約390pxでデスクトップのドロップダウンとモバイルメニューを比較し、その後、ほかの fullBleed プレビューにリグレッションがないか確認します。両方のメニューがカード内に収まり、390pxで横方向のオーバーフローが発生しなければ完了です。ライトモードとダークモードで、デスクトップとモバイルのスクリーンショットを撮影してください。

索引モデルが issue の本文から書いたものです。

説明

bug website

Problem

The NavBar docs preview (<PreviewComponents registryName="navbar" fullBleed>) is only as tall as the bar itself. fullBleed renders the demo with no padding or minimum height (src/components/docs/preview-shell.tsx), so the language dropdown and the mobile menu have no room inside the card:

  • On main, the card clips with overflow-hidden, so the open dropdown is cut off at the card edge.
  • With the clipping removed (as #44 does), the dropdown spills out of the card over the Installation section below.

Either way, the preview doesn't show the component's main interaction.

Expected

The NavBar preview stage reserves enough space for its popups: the open language menu with all demo locales, and the mobile menu at narrow widths. Both should fit inside the card.

Suggested fix

  • Give the fullBleed stage a minimum height, or let PreviewComponents accept a minHeight / className for the stage, and set it on the NavBar page (roughly min-h-[22rem]).
  • Leave the bar at the top of the stage; the empty area below is where the menus open.
  • Check the other fullBleed previews aren't affected.

Acceptance

  • Open language dropdown fits fully inside the preview card on desktop.
  • Mobile menu (~390px) fits inside the card.
  • No horizontal page overflow at 390px.
  • Screenshots: desktop and ~390px, light and dark.
主要言語
TypeScript
スター
39
フォーク
16
平均マージ
2日 12時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

babelize/babelize-elements のほかの issue

babelize/babelize-elements の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。