@@ -1,11 +1,17 @@
.main-container {
.page-comment-main {
+ pointer-events: auto;
+
// delete button
.page-comment-control {
position: absolute;
top: 0;
right: 0;
- display: none; // default hidden
+ visibility: hidden;
+ }
+ &:hover > .page-comment-control {
+ visibility: visible;
}
@@ -103,11 +103,6 @@
border-left: none;
- // show when hover
- .page-comment-main:hover > .page-comment-control {
- display: block;
- }
-
// display cheatsheet for comment form only
.comment-form {
.editor-cheatsheet {
@@ -105,11 +105,6 @@
@@ -144,11 +144,6 @@
display: none; // default hidden
- // show controls when hover