Commit 3d045b6b authored by Sam Beckham's avatar Sam Beckham

Adds changes from @jareko review

- Made the dropdown menu toggle styles more specific
- Fixed the styling on the award emojis
parent 69c4c727
......@@ -446,7 +446,7 @@ export class AwardsHandler {
createAwardButtonForVotesBlock(votesBlock, emojiName) {
const buttonHtml = `
<button class="btn award-control js-emoji-btn has-tooltip active" title="You">
<button class="gl-button btn btn-default award-control js-emoji-btn has-tooltip active" title="You">
${this.emoji.glEmojiTag(emojiName)}
<span class="award-control-text js-counter">1</span>
</button>
......
......@@ -208,9 +208,8 @@
gl-emoji,
.award-control-icon {
vertical-align: middle;
margin-right: 0.15em;
font-size: 1.5em;
line-height: 1;
font-size: 1.4em;
line-height: 0.5em;
}
.award-control-icon-loading {
......@@ -219,11 +218,8 @@
.award-control-icon {
color: $border-gray-normal;
margin-top: 1px;
padding: 0 2px;
svg {
margin-bottom: 3px;
height: $default-icon-size;
width: $default-icon-size;
border-radius: 50%;
......
......@@ -133,7 +133,8 @@
}
}
.dropdown-menu-toggle {
// This is double classed to solve a specificity issue with the gitlab ui buttons
.dropdown-menu-toggle.dropdown-menu-toggle {
@extend .dropdown-toggle;
justify-content: flex-start;
overflow: hidden;
......
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