Skip to content

fix: simplify material dropdown styles and structure; remove unnecessary positioning properties#13

Merged
VoX merged 2 commits into
mainfrom
develop
Feb 13, 2026
Merged

fix: simplify material dropdown styles and structure; remove unnecessary positioning properties#13
VoX merged 2 commits into
mainfrom
develop

Conversation

@VoX

@VoX VoX commented Feb 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 13, 2026 18:23
@VoX VoX enabled auto-merge February 13, 2026 18:23
@VoX VoX merged commit cf6e061 into main Feb 13, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the material dropdown component by converting it from an absolutely positioned, centered element to a regular flex item within the view-controls container. The changes remove unnecessary CSS positioning properties and reduce layout complexity.

Changes:

  • Moved material-dropdown div from sibling to child of view-controls container
  • Removed absolute positioning CSS properties (position, top, left, transform) that were used for centering
  • Removed redundant CSS properties (z-index, pointer-events, padding-top) now inherited from parent

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/App.tsx Restructured material-dropdown to be a child of view-controls instead of a sibling, making it part of the flex layout
src/App.css Removed absolute positioning and centering styles from material-dropdown; removed redundant properties now handled by parent container

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants