Can not able to apply padding to our own html element #144
-
I'm using How can I apply custom CSS to the HTML element on which Basically, I want to give some padding and want to round the corners of the element where UI tour is shown for better looks. I can't use I followed documentation as well but it doesn't work for me as shown below: I'm using this below snippet of CSS in my code to give padding to the button Hope you understand the challenge that I'm facing to give custom CSS. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In case of a button, you might have to nest it in another |
Beta Was this translation helpful? Give feedback.
-
Maybe your button is not fully rendered when the tour is trying to get its bounding rectangle. You can try to set |
Beta Was this translation helpful? Give feedback.
In case of a button, you might have to nest it in another
div
element and settourAnchor
to the newdiv
container to get the desired result.Check out this demo project for an example of how it can be done.