Commit 57f79da9 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'cleaner-additional-award-emoji-button' into 'master'

Removed unnecessary 'add' text in additional award emoji button

See merge request !10124
parents 77eda528 b2c2cd28
...@@ -92,6 +92,10 @@ ...@@ -92,6 +92,10 @@
.award-menu-holder { .award-menu-holder {
display: inline-block; display: inline-block;
position: relative; position: relative;
.tooltip {
white-space: nowrap;
}
} }
.award-control { .award-control {
...@@ -124,6 +128,10 @@ ...@@ -124,6 +128,10 @@
&:focus { &:focus {
outline: 0; outline: 0;
} }
.award-control-icon {
margin: 0;
}
} }
&.is-loading { &.is-loading {
...@@ -153,6 +161,7 @@ ...@@ -153,6 +161,7 @@
.award-control-icon { .award-control-icon {
color: $border-gray-normal; color: $border-gray-normal;
margin-top: 1px; margin-top: 1px;
padding: 0 2px;
} }
.award-control-text { .award-control-text {
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
- if current_user - if current_user
.award-menu-holder.js-award-holder .award-menu-holder.js-award-holder
%button.btn.award-control.js-add-award{ type: "button" } %button.btn.award-control.has-tooltip.js-add-award{ type: 'button',
'aria-label': 'Add emoji',
data: { title: 'Add emoji', placement: "bottom" } }
= icon('smile-o', class: "award-control-icon award-control-icon-normal") = icon('smile-o', class: "award-control-icon award-control-icon-normal")
= icon('spinner spin', class: "award-control-icon award-control-icon-loading") = icon('spinner spin', class: "award-control-icon award-control-icon-loading")
%span.award-control-text
Add
---
title: Removed unnecessary 'add' text in additional award emoji button
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment