From bfb8c7e53d68c8325b14df9126410e9760aa55ae Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 15 Oct 2016 20:31:29 +0300 Subject: [PATCH] Tweak text alignment of event ranking --- app/views/management/conferences/show.html.slim | 2 +- app/views/management/conferences/vote_results.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/management/conferences/show.html.slim b/app/views/management/conferences/show.html.slim index e567839..84f3951 100644 --- a/app/views/management/conferences/show.html.slim +++ b/app/views/management/conferences/show.html.slim @@ -120,7 +120,7 @@ span title="#{t('.vote_ratio', votes: event.number_of_votes, total_votes: @conference.number_of_ballots_cast)}" = number_to_percentage(event.per_cent_of_votes, strip_insignificant_zeros: true, precision: 2) - else - td.text-right rowspan="#{events.count}" + td.text-center rowspan="#{events.count}" .large span.label.label-danger × = t('.unranked') diff --git a/app/views/management/conferences/vote_results.html.slim b/app/views/management/conferences/vote_results.html.slim index bc3e915..d884595 100644 --- a/app/views/management/conferences/vote_results.html.slim +++ b/app/views/management/conferences/vote_results.html.slim @@ -33,7 +33,7 @@ span title="#{t('.vote_ratio', votes: event.number_of_votes, total_votes: @conference.number_of_ballots_cast)}" = number_to_percentage(event.per_cent_of_votes, strip_insignificant_zeros: true, precision: 2) - else - td.text-right rowspan="#{events.count}" + td.text-center rowspan="#{events.count}" .large span.label.label-danger × = t('.unranked')