-
Notifications
You must be signed in to change notification settings - Fork 156
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: Flashbar shadow z-index issue and pages background #2885
fix: Flashbar shadow z-index issue and pages background #2885
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2885 +/- ##
=======================================
Coverage 96.21% 96.21%
=======================================
Files 761 761
Lines 21502 21502
Branches 7354 7354
=======================================
Hits 20688 20688
Misses 806 806
Partials 8 8 ☔ View full report in Codecov by Sentry. |
7775171
to
172f8ff
Compare
172f8ff
to
1dd11c2
Compare
pages/app/components/page-view.tsx
Outdated
@@ -15,7 +17,9 @@ export default function PageView({ pageId }: { pageId: string }) { | |||
return ( | |||
<ErrorBoundary key={pageId}> | |||
<Suspense fallback={<span>Loading...</span>}> | |||
<Page /> | |||
<div className={styles['page-container']}> |
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.
Do we really need this wrapper? Can we apply the same style to the <div id="app">
that we have already?
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.
Great suggestion, applied the change 👍
1dd11c2
to
7151e3d
Compare
7151e3d
to
3a649b9
Compare
Description
Reopens #2813 and #2767 after being reverted at #2876, with the following fix:
Flashbar items use
box-shadow
on the element itself rather than the pseudo element withz-index: -1
.Related links, issue #, if available: n/a
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md
.CONTRIBUTING.md
.Security
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.