fix(jeu): positionnement overlay — retire float iframe, position absolute overlay
This commit is contained in:
parent
c26de10eac
commit
2af4604c08
2 changed files with 24 additions and 1 deletions
|
|
@ -368,6 +368,29 @@
|
|||
font-size: var(--font-size-caption);
|
||||
}
|
||||
|
||||
/* --- Bloc jeu iframe --- */
|
||||
.article-body :global(.iframe-game-container) {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.article-body :global(.iframe-click-overlay) {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.article-body :global(.iframe-deactivate-btn) {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* --- Recommandations --- */
|
||||
.article-related {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.15);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue