I have a menu option with two links. When the line wraps, the <a>
tag is wider than the text it contains, making the second '+' link too far away. Can I make the <a>
tag just as wide as the text it contains?
<li class="has-submenu">
<a href="/pages/litigation">Litigation & Dispute Resolution</a>
<a class="expand-nav" href="#">+</a>
</li>
The <li>
is display: flex
, the <a>
's are display: inline-block
.