Commit 18d8487a authored by Porter Libby's avatar Porter Libby
Browse files

fix

parent e518c958
......@@ -40,7 +40,9 @@
<span class='box-prompt'></span>
</div>
</div>
<div id='details-container' onclick='closeDetails()'></div>
<div id='details-container'>
<div onclick='closeDetails()' style='width: 100%; height: 100%;'></div>
</div>
<script>
function openDetails(label, target){
console.log(target);
......@@ -68,7 +70,7 @@
function closeDetails() {
console.log('test');
var container = document.getElementById('details-container');
container.innerHTML = '';
container.innerHTML = "<div onclick='closeDetails()' style='width: 100%; height: 100%;'></div>";
container.style.zIndex = -1;
}
</script>
......
......@@ -20,6 +20,7 @@ body {
width: 90vw;
margin: 5vh 5vw;
position: absolute;
z-index: 2;
top: 0px;
background-color: var(--detail-color-1);
border-radius: 8px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment