From cd495c80fe8bd35a567ba5d1e0a9cfdfe0bae2fb Mon Sep 17 00:00:00 2001 From: decabeza Date: Sat, 7 Oct 2017 02:08:01 +0200 Subject: [PATCH] changes border right to bottom when expand gallery --- app/assets/stylesheets/participation.scss | 7 +++++++ app/views/polls/show.html.erb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 2df8292f6..8567bde69 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -1576,6 +1576,13 @@ .column:nth-child(odd) { border-right: 1px solid #eee; } + + .answer-divider { + border-bottom: 1px solid #eee; + border-right: 0 !important; + margin-bottom: $line-height; + padding-bottom: $line-height; + } } .orbit-bullets button { diff --git a/app/views/polls/show.html.erb b/app/views/polls/show.html.erb index 1eb128333..365f6f37c 100644 --- a/app/views/polls/show.html.erb +++ b/app/views/polls/show.html.erb @@ -71,7 +71,7 @@ <% @poll.questions.map(&:question_answers).flatten.each do |answer| %>
+ data-toggler="medium-6 answer-divider"> <% if answer.description.present? %>

<%= answer.title %>