October 22, 2024
Chicago 12, Melborne City, USA
HTML

taking up more space than it's children need


The structure looks like this

        <div class="logo-container">
            <a href="" class="logo-link flex-row">
                <img src="{{url_for('static', filename="logo.svg")}}" alt="logo.svg could not be loaded...">
                <div class="adlam-display-regular">text</div>
            </a>
        </div>

However, the .logo-link <a> is taking up way more space than it needs to…

enter image description here

The text inside of it only takes up this much space:

enter image description here

I’d like it for the link, or for the cursor to change ONLY when I hover over the actual text or the logo…



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video