hero overflow fix (#12677)

This commit is contained in:
ludwiczakpawel 2021-02-12 18:27:05 +01:00 committed by GitHub
parent bcbeb66c98
commit 59e24a7a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
<% end %>
<div id="page-content-inner">
<% if @hero_html %>
<div id="hero-html-wrapper" data-name="<%= @hero_area.name %>">
<div id="hero-html-wrapper" class="overflow-x-hidden" data-name="<%= @hero_area.name %>">
<script>
// Make sure html variant element has id hero-html-wrapper and data-name as its name
if (localStorage.getItem('exited_hero') === '<%= @hero_area.name %>') {