Add image static width and height

This commit is contained in:
Edgar P. Burkhart 2022-05-08 10:13:55 +02:00
parent 97d29033d3
commit 95657948dc
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,7 @@
<body>
<nav>
<a href="/">
<img class="logo" src="static/svg/logo.svg" />
<img class="logo" width="32" height="32" src="static/svg/logo.svg" />
</a>
</nav>

View file

@ -99,7 +99,8 @@ nav a.active {
font-weight: 550;
}
nav img {
height: calc(var(--navh) - 2 * var(--bl-gap));
height: var(--bl-lh);
width: var(--bl-lh);
}
ul {list-style-type: ""}