Skip to content

When landmark height is 0px, the highlight box looks flat #415

@carmacleod

Description

@carmacleod

If all children of a landmark have CSS float, the landmark height is 0px.
This looks "off" when the highlight box is drawn around the landmark.
For example, the nav inside the banner on https://www.paciellogroup.com/

How about making a rudimentary guess at the height of a 0px-high landmark by using the height of the first child (well, the first one that has height)? I realize that won't be correct all the time, but maybe it will catch a bunch of cases? Just a thought. :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions