It has nothing to do with the anchor tags. It’s the background color of the submenu
ul showing through the padding.
If you have changed the background of the
.sub-menu class the you may need to clear the CSS cache to see it take effect. it certainly works when I use Developer Tools to change that setting.