-
Notifications
You must be signed in to change notification settings - Fork 70
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: restructure menu header for styling #989
Conversation
@luwes is attempting to deploy a commit to the Mux Team on Vercel. A member of the Team first needs to authorize it. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #989 +/- ##
==========================================
- Coverage 78.55% 76.89% -1.67%
==========================================
Files 59 50 -9
Lines 11080 12088 +1008
Branches 0 695 +695
==========================================
+ Hits 8704 9295 +591
- Misses 2376 2768 +392
- Partials 0 25 +25 ☔ View full report in Codecov by Sentry. |
11c3956
to
9f97445
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
9f97445
to
3281fd6
Compare
d74f1b0
to
29119ea
Compare
29119ea
to
67003a8
Compare
} | ||
|
||
slot[name="header"] > *, | ||
slot[name="header"]::slotted(*) { |
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.
by setting it on the default or slotted elements the styles can be easily overridden
@@ -729,7 +733,7 @@ class MediaChromeMenu extends globalThis.HTMLElement { | |||
return headerSlot | |||
.assignedElements({ flatten: true }) | |||
?.find( | |||
(el) => el.part.contains('back') && el.part.contains('button') | |||
(el) => el.matches('button[part~="back"]') |
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.
keep consistent with CSS selector (cursor pointer) above
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.
lgtm
fix #987