Skip to content

Commit

Permalink
Fixed: Resize calculation for viewport height CSS var
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo authored Sep 9, 2020
1 parent 394ba7f commit cee34f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/_layout/base.twig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<body
x-data="app()"
x-init="viewportHeight()"
x-on:resize.window="viewportHeight()"
>

{% block body %}{% endblock %}
Expand Down

0 comments on commit cee34f6

Please sign in to comment.