How do I hide the annotation completely #4877
-
For some reason the buttons are still in vanilla style and it partially fades away, I want it to hide it. |
Beta Was this translation helpful? Give feedback.
Answered by
danilokrulj
Aug 29, 2024
Replies: 1 comment 1 reply
-
I think all of that can be changed through CSS. I just inspected some code with annotations and when it is faded away it gets this CSS style: .annotation-wrapper.hide ::slotted(*) { Just change that value to 0 in your CSS and you should be good. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
elalish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think all of that can be changed through CSS. I just inspected some code with annotations and when it is faded away it gets this CSS style:
.annotation-wrapper.hide ::slotted(*) {
opacity: var(--min-hotspot-opacity, 0.25);
}
Just change that value to 0 in your CSS and you should be good.