Pass component into hyperscript
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user