From 44d8714f38cd09c0a11837531c003b16a121bd0c Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 22 Dec 2015 23:27:05 +0200 Subject: improved emoji picker style --- app/assets/stylesheets/pages/awards.scss | 4 +++- app/views/votes/_votes_block.html.haml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/pages/awards.scss b/app/assets/stylesheets/pages/awards.scss index 30fdf3f218d..aa1a06b2fcc 100644 --- a/app/assets/stylesheets/pages/awards.scss +++ b/app/assets/stylesheets/pages/awards.scss @@ -90,13 +90,15 @@ height: 300px; overflow-y: scroll; - h4 { + h5 { clear: left; } ul { list-style-type: none; margin-left: -20px; + margin-bottom: 20px; + overflow: auto; } li { diff --git a/app/views/votes/_votes_block.html.haml b/app/views/votes/_votes_block.html.haml index 65d3f4c7faf..8c660ba16cc 100644 --- a/app/views/votes/_votes_block.html.haml +++ b/app/views/votes/_votes_block.html.haml @@ -12,7 +12,7 @@ .emoji-menu .emoji-menu-content - AwardEmoji.emoji_by_category.each do |category, emojis| - %h4= AwardEmoji::CATEGORIES[category] + %h5= AwardEmoji::CATEGORIES[category] %ul - emojis.each do |emoji| %li -- cgit v1.2.1