Add image static width and height
This commit is contained in:
parent
97d29033d3
commit
95657948dc
2 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img class="logo" src="static/svg/logo.svg" />
|
<img class="logo" width="32" height="32" src="static/svg/logo.svg" />
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,8 @@ nav a.active {
|
||||||
font-weight: 550;
|
font-weight: 550;
|
||||||
}
|
}
|
||||||
nav img {
|
nav img {
|
||||||
height: calc(var(--navh) - 2 * var(--bl-gap));
|
height: var(--bl-lh);
|
||||||
|
width: var(--bl-lh);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {list-style-type: "–"}
|
ul {list-style-type: "–"}
|
||||||
|
|
Loading…
Reference in a new issue