Added dimensions to landing page image to mitigate content shift

This commit is contained in:
squidfunk 2020-04-27 09:35:08 +02:00
parent e6143e7bfb
commit 1f7dffdabb
2 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<div class="md-grid md-typeset"> <div class="md-grid md-typeset">
<div class="tx-hero"> <div class="tx-hero">
<div class="tx-hero__image"> <div class="tx-hero__image">
<img src="assets/images/illustration.png" alt="" draggable="false"> <img src="assets/images/illustration.png" alt="" width="1659" height="1200" draggable="false">
</div> </div>
<div class="tx-hero__content"> <div class="tx-hero__content">
<h1>Technical documentation that just works</h1> <h1>Technical documentation that just works</h1>

View File

@ -157,7 +157,13 @@
<!-- Hero image --> <!-- Hero image -->
<div class="tx-hero__image"> <div class="tx-hero__image">
<img src="assets/images/illustration.png" alt="" draggable="false"> <img
src="assets/images/illustration.png"
alt=""
width="1659"
height="1200"
draggable="false"
>
</div> </div>
<!-- Hero content --> <!-- Hero content -->