Skip to content

Commit 58d26d0

Browse files
authored
fix: display images on top of other elements in README (#1040)
1 parent 115c1c4 commit 58d26d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/components/Readme.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ function handleClick(event: MouseEvent) {
8585
/* Contain all children */
8686
overflow: hidden;
8787
min-width: 0;
88+
/* Contain all children z-index values inside this container */
89+
isolation: isolate;
8890
}
8991
9092
/* README headings - styled by visual level (data-level), not semantic level */
@@ -402,6 +404,8 @@ function handleClick(event: MouseEvent) {
402404
display: revert-layer;
403405
border-radius: 8px;
404406
margin: 1rem 0;
407+
position: relative;
408+
z-index: 1;
405409
}
406410
407411
.readme :deep(video) {

0 commit comments

Comments
 (0)