improves polls index view on mobile version

This commit is contained in:
decabeza
2017-10-07 19:38:17 +02:00
parent b06102fb79
commit 71d785ba78
2 changed files with 5 additions and 2 deletions

View File

@@ -1658,7 +1658,10 @@
.poll { .poll {
&.with-image { &.with-image {
@include breakpoint(medium) {
padding: 0 $line-height / 2 0 0; padding: 0 $line-height / 2 0 0;
}
img { img {
height: 100%; height: 100%;

View File

@@ -5,7 +5,7 @@
<span class="show-for-sr"><%= t("polls.index.already_answer") %></span> <span class="show-for-sr"><%= t("polls.index.already_answer") %></span>
</div> </div>
<% end %> <% end %>
<div class="row" data-equalizer> <div class="row" data-equalizer data-equalize-on="medium">
<div class="small-12 medium-3 column"> <div class="small-12 medium-3 column">
<div class="image-container" data-equalizer-watch> <div class="image-container" data-equalizer-watch>
<% if poll.image.present? %> <% if poll.image.present? %>