diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-01 14:25:59 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-11 12:02:43 +0300 |
commit | 5e145918b4dc20672ca212d094a73b87476d1db5 (patch) | |
tree | f5251a850c82c25f59bb0f594a216a741236f678 /app/views/emojis | |
parent | f7da99aef7044592d957df750dcf6e4185c51694 (diff) |
Updated UI of award emoji
Closes #13878
Diffstat (limited to 'app/views/emojis')
-rw-r--r-- | app/views/emojis/index.html.haml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/emojis/index.html.haml b/app/views/emojis/index.html.haml index b66e513e4d2..3443a8e2307 100644 --- a/app/views/emojis/index.html.haml +++ b/app/views/emojis/index.html.haml @@ -2,8 +2,10 @@ .emoji-menu-content = text_field_tag :emoji_search, "", class: "emoji-search search-input form-control" - AwardEmoji.emoji_by_category.each do |category, emojis| - %h5= AwardEmoji::CATEGORIES[category] - %ul + %h5.emoji-menu-title + = AwardEmoji::CATEGORIES[category] + %ul.clearfix.emoji-menu-list - emojis.each do |emoji| - %li - = emoji_icon(emoji["name"], emoji["unicode"], emoji["aliases"])
\ No newline at end of file + %li.pull-left.text-center.emoji-menu-list-item + %button.emoji-menu-btn.text-center.js-emoji-btn{type: "button"} + = emoji_icon(emoji["name"], emoji["unicode"], emoji["aliases"]) |