I have the following CSS style that applies padding-right and changes the font-size on a span that is found inside of an a tag.
But, for other links that do not have a span inside of them, I want to apply padding-right: 1.35rem; to keep the links virtually lined up.
Here is my CSS code that adds the padding-right
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a > span {
padding-right: 0.50rem;
font-size: .85rem;
}
How can I apply CSS code only when the span does not exist inside of the a tag?