Pluggable Widget was rendered incorrectly

Hi Forum, I have one pluggable widget with one Checkbox function; I could use it well in my local environment. But after integrated into Mendix itself, finally I got this; it seemed Mendix “changed / overrode” my css configuration, so the display didn’t work correctly below. Therefore, I would like to know, how can I override the css for this Checkbox? (I want to change the "position” into “absolute”). Thanks in advance.
1 answers

Hello @Kevin wu, you can use the css specificity concept here. Try the below code.

.your-custom-class span.ant-checkbox input[type=”checkbox”]{

    position: absolute !important;

Note: you just need to increase the class count.