-
Notifications
You must be signed in to change notification settings - Fork 1
resize card #113
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
Merged
Merged
resize card #113
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
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.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: imuniqueshiv/HyperLearningTech
Length of output: 26480
🌐 Web query:
MDN pointer-events none auto auto defaults click target element background CSS💡 Result:
The CSS property pointer-events controls whether an element can be the target of pointer events, such as mouse clicks, hovers, or touch interactions [1][2]. Key behaviors: auto: This is the initial, default value [1][3]. It allows the element to behave as if the pointer-events property were not specified, meaning it will react to pointer events and can serve as a target [1]. none: This value instructs the browser to ignore the element as a target for pointer events [1][4]. Instead, the pointer event will pass through the element and target whatever is underneath it (e.g., an element positioned behind it in the Z-axis) [1][4][2]. Important nuances: 1. Subtree inheritance: While an element with pointer-events: none is ignored, its descendants can still receive events if they have pointer-events set to a different value (e.g., auto) [1][4]. 2. Event propagation: Even if an element is set to none, it may still trigger event listeners during the event capture and bubble phases if an event is targeting a child element that is pointer-event-active [1][4]. 3. Keyboard navigation: Elements with pointer-events: none remain focusable via sequential keyboard navigation (e.g., using the Tab key) [1][4]. 4. Pointer enter/leave events: The pointerenter and pointerleave events may still fire on an element with pointer-events: none when the pointer enters or leaves one of its descendants [4]. For general HTML elements, auto and none are the primary values used [2]. Other values exist (such as visiblePainted, fill, or stroke) but are primarily reserved for use within SVG content [1][2].
Citations:
Make the frosted backdrop passive while the overlay is invisible.
The
absolute inset-0backdrop has nopointer-events-none, so it receives hits at the same z-index as the container and can block dashboard clicks even whenopacityis 0. Addpointer-events-noneso only the card UI explicitly opts back into pointer events when needed.🤖 Prompt for AI Agents