Pass component into hyperscript

This commit is contained in:
2024-06-19 02:07:17 +03:00
parent 05db0b693e
commit 3e39bda014
3 changed files with 34 additions and 33 deletions
-27
View File
@@ -238,33 +238,6 @@ body {
margin-right: 1.5rem;
}
}
.button {
position: absolute;
top: 0;
right: 0;
margin: 0.5em;
padding: 0.5em;
cursor: pointer;
background-color: rgb(153 153 255 / 10%);
border: 1px solid rgb(153 153 255 / 60%);
border-radius: 0.5em;
opacity: 0;
transition: 0.3s ease;
}
&:hover {
.button {
opacity: 1;
}
}
}
}
}