[Bug] Images, iframes, and videos in header will cause spacing issue
tekstrand opened this issue · comments
iframe, img, video are all set the margin: auto
by default. If you use an image in header
under layout-simple
the margin will break the justify-content: space-between
rule
![Screenshot 2024-06-11 at 11 16 07 AM](https://private-user-images.githubusercontent.com/5215365/338644594-d0969605-d904-45cc-a1a9-a3c3c2077b24.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI4OTg1MTYsIm5iZiI6MTcyMjg5ODIxNiwicGF0aCI6Ii81MjE1MzY1LzMzODY0NDU5NC1kMDk2OTYwNS1kOTA0LTQ1Y2MtYTFhOS1hM2MzYzIwNzdiMjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDVUMjI1MDE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGFjMzE0ZTE4NTcyYzA3NWRmZTM2NzgzZTI5Mjk5Y2VjNzg1NzVhYzVhYWFhNWM2NjhkMDBjOGQxOGRhM2QwYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.m5Lc0ZuP1hb45_H__2Sfpy078ZB1eHHQBJWQqxhlRAA)
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://matcha.mizu.sh/matcha.css">
</head>
<body class="layout-simple">
<header>
<img src="images/Austin-Mesh-Logo.svg" alt="Logo for Austin Mesh" title="Austin Mesh" width="500" height="60" />
<div>
Social media links
</div>
</header>
</body>
</html>
Could you add a minimal HTML reproduction snippet if possible please ?
♻️ updated new screenshot with minimal html to replicate