Explicitly set width and height for every graphical element.

This commit is contained in:
Ben Rog-Wilhelm 2022-09-12 00:45:04 -05:00 committed by Ben Rog-Wilhelm
parent 2d31f0e9b5
commit c5ed98bad9
2 changed files with 3 additions and 2 deletions

View file

@ -86,6 +86,7 @@ a { color: var(--primary); }
}
.primary_banner {
min-height: 20vh;
max-height: 30vh;
object-fit: cover;
}
.border {

View file

@ -3,7 +3,7 @@
<div class="navbar navbar-expand-md" id="navbar">
<div class="container-fluid" style="padding:0;">
<a href="/" class="navbar-brand mr-auto">
<img alt="header icon" height=33 src="{{ ('images/'~SITE_ID~'/headericon.webp') | asset }}">
<img alt="header icon" height=33 width=80 src="{{ ('images/'~SITE_ID~'/headericon.webp') | asset }}">
</a>
{% if sub %}
@ -22,7 +22,7 @@
{% endif %}
</style>
<a href="/" class="flex-grow-1">
<img class="ml-1" id="logo" alt="logo" src="{{ ('images/'~SITE_ID~'/logo.webp') | asset }}" width=70>
<img class="ml-1" id="logo" alt="logo" src="{{ ('images/'~SITE_ID~'/logo.webp') | asset }}" width="70" height="14">
</a>
{% endif %}