update img expand hover strategy
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
||||||
<template id="expand-image-tmp">
|
<template id="expand-image-tmp">
|
||||||
<div class="node-view-img-wrapper">
|
<div class="node-view-img-wrapper on-hover">
|
||||||
<img>
|
<img>
|
||||||
|
|
||||||
<button aria-label="Agrandir" type="button" class="btn btn-expand btn-depart rounded-pill">
|
<button aria-label="Agrandir" type="button" class="btn btn-expand btn-depart rounded-pill">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:not(:hover) .btn-expand {
|
&.on-hover:not(:hover) .btn-expand {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user