I have a container with an angular material checkbox inside. The background of the container is black, so I changed the background color of the checkbox to white for visibility. However, there seems to be some unwanted spacing on the right side of the checkbox that I can't remove. Does anyone know how to fix this issue? Setting padding to 0 does not solve it.
https://i.sstatic.net/P2d3t.png
<div id="chartWrapper-{{$index}}" style="position: relative">
<div id="chartTopPanel-{{$index}}"
style="position: absolute; display: none; left:0; top:0; height: 15%; width: 100%; opacity: 1; background-color: darkslategrey; z-index: 100;">
<md-checkbox id="chartSelect-{{$index}}" style="
position: absolute; margin:10px; background-color: white; padding-right: 0" >
</md-checkbox>
</div>
</div>