Fix Settings dropdown z-index overlap and Activity Logs filter panel - #30
Closed
teja-311 wants to merge 1 commit into
Closed
Fix Settings dropdown z-index overlap and Activity Logs filter panel#30teja-311 wants to merge 1 commit into
teja-311 wants to merge 1 commit into
Conversation
…overflow Signed-off-by: Tejashwini <deviteja76@gmail.com>
Owner
|
Thanks for the PR! The fixes are valid, but this only contains a couple of small CSS changes.
|
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes two layout bugs on the admin dashboard pages:
1. Settings dropdown rendering behind page content
The dropdown (Dark Mode / Toggle Brightness) rendered behind the tab bar (Users/Payments/Activity Logs) instead of on top of it. Fixed by adding
position: relativeandzIndex: 1040to the<Navbar>inNavBar.jsx, giving it its own stacking context so the dropdown (zIndex: 2000) reliably renders above page content.2. Activity Logs filter panel overflowing its container
The filter row (Search/Role/Activity/From/To/Order/Rows) overflowed past the card's right edge due to a fixed 7-column grid in
ActivityLogs.cssthat couldn't shrink below its minimum widths. Changedgrid-template-columnstorepeat(auto-fit, minmax(140px, 1fr))so filter boxes wrap onto new rows instead of overflowing.Closes #24
Before / After
Settings dropdown overlap (before → after):


Filter panel overflow (before → after):


Steps to Test
learn@learnhub.com/changethispassword)Build Verification
Ran
npm run devinfrontendand it builds and runs with no new warnings or errors.Type of Change
Checklist