Add missing data-equalizer-watch attribute

Why:

* There is a data-equalizer attribute on the parent div, and a data-equalizer-watch on a sibiling div, and that breakes both the purpose of those values (Resize child elements of data-equalizer to have the same height. Ref: http://foundation.zurb.com/sites/docs/equalizer.html)

* That lack of attribute was breaking many specs consistently on localhost with phantomjs 2.1.1 on macos sierra (and ubuntu as reported by @amaia)

How:

* Just adding the missing 'data-equalizer-watch' attribute on the div child of the one using 'data-equalizer'
This commit is contained in:
Bertocq
2017-05-29 09:58:37 +02:00
parent db68353937
commit 41fb640f92

View File

@@ -31,7 +31,7 @@
<%= render 'layouts/admin_header' %> <%= render 'layouts/admin_header' %>
<div class="no-margin-top row no-max-width collapse" data-equalizer> <div class="no-margin-top row no-max-width collapse" data-equalizer>
<div class="small-12 medium-3 column"> <div class="small-12 medium-3 column" data-equalizer-watch>
<div class="show-for-small-only"> <div class="show-for-small-only">
<button type="button" class="button hollow expanded" data-toggle="offCanvas"><%= t("admin.menu.admin") %></button> <button type="button" class="button hollow expanded" data-toggle="offCanvas"><%= t("admin.menu.admin") %></button>