Sidebar2 - Allow custom height or CSS variable for .nav-scrollable element
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- html
- 領域
- frontend
調査の方向性
Start by locating the Sidebar2 component and the scoped CSS that sets .nav-scrollable height inside the min-width: 641px media query. Compare how the component exposes other styling options and choose a supported way to let consumers control or disable that height. Done means the fixed height can be adapted for layouts with a footer and the change is covered by relevant component tests or documentation.
索引モデルが issue の本文から書いたものです。
説明
Problem
Currently, the Sidebar2 component renders a scrollable content area (.nav-scrollable) with a hardcoded height defined via scoped CSS:
@media (min-width: 641px) {
.nav-scrollable[b-xxxxxxx] {
height: calc(100vh - 3.5rem);
overflow-y: auto;
}
}
This prevents consumers from overriding the height or using a custom layout with a footer, as the height gets reapplied after window resizing due to media queries or re-rendering.
Expected Behavior
As a library consumer, I would like to:
Override the scrollable content height via a CSS variable (e.g. --bb-sidebar-content-height)
Or pass a parameter like ContentHeight to the Sidebar2 component
Or have the ability to disable internal height styling entirely and manage layout externally
Why This Matters
When using a layout with a fixed footer, the hardcoded height causes the last few sidebar items to be hidden behind the footer, especially on smaller screen heights. Using global CSS or inline styles doesn't work due to scoped CSS and internal media queries.
Proposed Solution
Add support for one of the following:
A CSS variable like --bb-sidebar-content-height used in the scoped style
A ContentHeight parameter on the Sidebar2 component
An option to disable or override internal height behavior (similar to class or style passthrough)
This would make Sidebar2 much easier to integrate into complex layouts without resorting to JavaScript interop hacks.
Thank You!
Thanks for the great component library — this is the only issue I’ve had while integrating Sidebar2 into a real-world layout.
- 主要言語
- HTML
- スター
- 1.2k
- フォーク
- 111
- 平均マージ
- 4分
- マージ済み PR(30日)
- 55
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vikramlearning/blazorbootstrap のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
vikramlearning/blazorbootstrap#1388 ·
メンテナーはふだん 1 日以内に返信
-
NET 11 Supportオープン
難易度 3/5 1〜2日 初心者へのやさしさ 28/100
vikramlearning/blazorbootstrap#1362 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
vikramlearning/blazorbootstrap#1346 ·
メンテナーはふだん 1 日以内に返信
-
Showcase: rich sample websites built with Blazor Bootstrap対応中かも @gvreddy04 が 8 日前に担当しました。 オープン
vikramlearning/blazorbootstrap#1343 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area-tree-view new component
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
vikramlearning/blazorbootstrap#1339 ·
メンテナーはふだん 1 日以内に返信
vikramlearning/blazorbootstrap の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DioxusLabs/blitz#1614 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
boxlite-ai/boxlite#2777 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
quality-assurance
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#249 ·
メンテナーはふだん 1 日以内に返信
-
bug P3
難易度 1/5 1時間未満 初心者へのやさしさ 87/100
メンテナーはふだん 1 日以内に返信