-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(filter): Set max height for the log-level listbox and refine styling (fixes #150). #155
Conversation
…low width auto-resizing with the `Select` button; disable "offset" modifier to remove gap between the listbox and the button.
WalkthroughThe pull request focuses on refining the Changes
Sequence DiagramsequenceDiagram
participant User
participant LogLevelSelect
participant Listbox
User->>LogLevelSelect: Click to open
LogLevelSelect->>Listbox: Render without auto-width
Listbox-->>User: Display log level options
User->>Listbox: Select log level
Listbox->>LogLevelSelect: Update selected value
Possibly Related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used📓 Learnings (1)src/components/StatusBar/LogLevelSelect/index.css (2)
🔇 Additional comments (1)src/components/StatusBar/LogLevelSelect/index.css (1)
The dynamic calculation using viewport height and CSS variables provides a robust solution that prevents the listbox from overlapping with the menu bar while maintaining flexibility for different viewport sizes. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality works as expected and fixes #150. Functionality to set max-height is ugly, but i could not think of a better solution in 20 min of testing.
Description
Select
button.Validation performed
Summary by CodeRabbit
Bug Fixes
LogLevelSelect
component to resolve a rounding issue with the listbox positioning.New Features
Select
button.