Docs: NavBar preview is too short for its dropdown and mobile menu
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- next.js, react, tailwindcss, typescript
調査の方向性
まず src/components/docs/preview-shell.tsx と、PreviewComponents を registryName="navbar" および fullBleed とともに使っている NavBar のドキュメントページを確認し、ステージのサイズとカードのオーバーフローがどのように影響し合うかを調べます。約390pxでデスクトップのドロップダウンとモバイルメニューを比較し、その後、ほかの fullBleed プレビューにリグレッションがないか確認します。両方のメニューがカード内に収まり、390pxで横方向のオーバーフローが発生しなければ完了です。ライトモードとダークモードで、デスクトップとモバイルのスクリーンショットを撮影してください。
索引モデルが issue の本文から書いたものです。
説明
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 withoverflow-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
fullBleedstage a minimum height, or letPreviewComponentsaccept aminHeight/classNamefor the stage, and set it on the NavBar page (roughlymin-h-[22rem]). - Leave the bar at the top of the stage; the empty area below is where the menus open.
- Check the other
fullBleedpreviews 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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
babelize/babelize-elements のほかの issue
-
bug language-switcher priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
babelize/babelize-elements#26 ·
メンテナーはふだん 1 日以内に返信
-
component enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
babelize/babelize-elements#47 ·
メンテナーはふだん 1 日以内に返信
-
bug component rtl-layout
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
babelize/babelize-elements#45 ·
メンテナーはふだん 1 日以内に返信
-
Website: revamp and improve the landing page対応中かも @anjalinayak01 が 3 日前に担当しました。 オープンenhancement help wanted priority: medium website
難易度 4/5 1週間以上 初心者へのやさしさ 30/100
babelize/babelize-elements#37 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue priority: low website
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
babelize/babelize-elements#36 ·
メンテナーはふだん 1 日以内に返信
babelize/babelize-elements の issue をすべて見る
似ている issue
-
Add: VIVE TVオープンapproved check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
iptv-org/iptv#55293 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Fission-AI/OpenSpec#2084 ·
メンテナーはふだん 2 日以内に返信
-
Contrib indemnité de départ à la retraite : faire le pont avec le simulateur sur la page génériqueオープンP1
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
SocialGouv/code-du-travail-numerique#7561 ·
メンテナーはふだん 1 日以内に返信
-
beginner bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
hiero-ledger/hiero-sdk-js#4517 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kubernetes-sigs/headlamp#7950 ·
メンテナーはふだん 3 日以内に返信