Add comment marker style for hover and focus states

This commit is contained in:
Timothée Goguely 2024-11-19 16:50:32 +01:00
parent 78c09254fa
commit 94b9143cab

View file

@ -367,5 +367,14 @@ function openComment(comment) {
cursor: pointer !important;
z-index: 999;
overflow: visible;
transition: transform 0.1s ease-out;
transform-origin: bottom left;
}
.comment-marker:hover {
transform: scale(1.1);
}
.comment-marker.active,
.comment-marker:focus {
background-image: var(--icon-comment-focus)
}
</style>