Can't get rid of padding/margin on VisCrosshair when using template #403
Unanswered
AshtonHannon
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Found that it was an issue in my CSS. Needed to apply |
Beta Was this translation helpful? Give feedback.
0 replies
-
@AshtonHannon A bit of a late reply, but thanks for sharing your findings! Agreed that it's a bit confusing, we'll think what to do about it in the future. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all. I am using the Svelte version of Unovis (@unovis/ts & @unovis/svelte), and I am using a VisScatter and VisCrosshair. I have created a simple template for the VisCrosshair, however it seems to have some padding/margin that I can not get rid of for the life of me. I want to get rid of it so that I can style the template custom, but I cannot figure out how to do so.
The plot inside of VisXYContainer:
The template code in question:
The resulting padding/margin that I can not get rid of:

Things I have tried:
p-0
/m-0
(Using tailwind obvi)Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions