diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 182c52863..bc6aa3694 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -70,7 +70,7 @@ line-height: rem-calc(48); vertical-align: super; - span { + span.percentage { color: white; display: inline-block; font-size: rem-calc(16); @@ -730,7 +730,7 @@ @media (min-width: $small-breakpoint) { .like, .unlike { - span { + span.percentage { display: block; line-height: $line-height/2; } diff --git a/app/views/debates/_votes.html.erb b/app/views/debates/_votes.html.erb index 054696478..a4fd722ee 100644 --- a/app/views/debates/_votes.html.erb +++ b/app/views/debates/_votes.html.erb @@ -4,7 +4,7 @@ <%= link_to vote_debate_path(debate, value: 'yes'), class: "like #{voted_classes[:in_favor]}", title: t('votes.agree'), method: "post", remote: true do %> - <%= votes_percentage('likes', debate) %> + <%= votes_percentage('likes', debate) %> <% end %> @@ -13,7 +13,7 @@