Apply inner bevel clip-path to model-viewer and iframe elements
Extend the .dt-bevel-media inner clip-path selector to cover model-viewer and iframe children, matching the existing treatment for img and video. Without this, 3D viewers and embedded video iframes filled edge-to-edge and covered the neon bevel border. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -381,7 +381,9 @@
|
||||
}
|
||||
|
||||
.dt-bevel-media > img,
|
||||
.dt-bevel-media > video {
|
||||
.dt-bevel-media > video,
|
||||
.dt-bevel-media > model-viewer,
|
||||
.dt-bevel-media > iframe {
|
||||
display: block;
|
||||
clip-path: polygon(
|
||||
calc(var(--bevel-md) + 1px) 3px,
|
||||
|
||||
Reference in New Issue
Block a user