@@ -15,7 +15,7 @@
<div id="app"></div>
<template id="expand-image-tmp">
- <div class="node-view-img-wrapper">
+ <div class="node-view-img-wrapper on-hover">
<img>
<button aria-label="Agrandir" type="button" class="btn btn-expand btn-depart rounded-pill">
@@ -2,7 +2,7 @@
display: inline-block;
position: relative;
- &:not(:hover) .btn-expand {
+ &.on-hover:not(:hover) .btn-expand {
display: none;
}