fix(skin): remove overflow in minimal video skin#993
Conversation
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📦 Bundle Size Report🎨 @videojs/html(no changes) Presets (7)
Media (5)
Players (3)
Skins (16)
UI Components (21)
Sizes are marginal over the root entry point. ⚛️ @videojs/react(no changes) Presets (7)
Media (4)
Skins (14)
UI Components (18)
Sizes are marginal over the root entry point. 🧩 @videojs/core(no changes) Entries (6)
🏷️ @videojs/element(no changes) Entries (2)
📦 @videojs/store(no changes) Entries (3)
🔧 @videojs/utils(no changes) Entries (10)
📦 @videojs/spf(no changes) Entries (3)
ℹ️ How to interpretAll sizes are standalone totals (minified + brotli).
Run |
There was a problem hiding this comment.
Pull request overview
This PR adjusts skin styling to prevent minimal-skin control overflow during hide/show transitions and to improve the visibility of the default skin’s inner border ring in dark mode.
Changes:
- Add
overflow: clip/overflow-clipto the minimal video root so transitioning controls don’t render outside the player bounds. - Increase the default skin dark-mode border ring opacity (white 10% → 15%) for better contrast.
- Minor Tailwind token consolidation for the minimal skin border ring classes.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/skins/src/minimal/tailwind/video.tailwind.ts | Adds overflow-clip to minimal video root and consolidates dark ring utility string. |
| packages/skins/src/minimal/css/video.css | Adds overflow: clip to minimal video root to match Tailwind tokens and prevent overflow during transitions. |
| packages/skins/src/default/tailwind/video.tailwind.ts | Increases dark-mode ring opacity (dark:after:ring-white/15). |
| packages/skins/src/default/css/video.css | Adjusts dark-mode --media-border-color to 0.15 opacity to match updated Tailwind ring strength. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
overflow: clipin the minimal skin so the controls don't overflow when transitioning out.