<!DOCTYPE html>
<html>
<body>

<form>
  <input type="checkbox" style="width: auto;">
  <input type="radio" style="width: auto;">
</form>

</body>
</html>