Commit 25cb4dba authored by Yogi's avatar Yogi Committed by Scott Hampton

Add btn-default and remove margin in status settings

Add necessary `.btn` and `.btn-default` classes to the status settings.

Also removed extra right margin on the emoji.
parent 0bb98b2e
...@@ -48,17 +48,17 @@ ...@@ -48,17 +48,17 @@
.col-lg-8 .col-lg-8
= f.fields_for :status, @user.status do |status_form| = f.fields_for :status, @user.status do |status_form|
- emoji_button = button_tag type: :button, - emoji_button = button_tag type: :button,
class: 'js-toggle-emoji-menu emoji-menu-toggle-button gl-button btn has-tooltip', class: 'js-toggle-emoji-menu emoji-menu-toggle-button btn gl-button btn-default has-tooltip',
title: s_("Profiles|Add status emoji") do title: s_("Profiles|Add status emoji") do
- if custom_emoji - if custom_emoji
= emoji_icon @user.status.emoji = emoji_icon(@user.status.emoji, class: 'gl-mr-0!')
%span#js-no-emoji-placeholder.no-emoji-placeholder{ class: ('hidden' if custom_emoji) } %span#js-no-emoji-placeholder.no-emoji-placeholder{ class: ('hidden' if custom_emoji) }
= sprite_icon('slight-smile', css_class: 'award-control-icon-neutral') = sprite_icon('slight-smile', css_class: 'award-control-icon-neutral')
= sprite_icon('smiley', css_class: 'award-control-icon-positive') = sprite_icon('smiley', css_class: 'award-control-icon-positive')
= sprite_icon('smile', css_class: 'award-control-icon-super-positive') = sprite_icon('smile', css_class: 'award-control-icon-super-positive')
- reset_message_button = button_tag type: :button, - reset_message_button = button_tag type: :button,
id: 'js-clear-user-status-button', id: 'js-clear-user-status-button',
class: 'clear-user-status gl-button btn has-tooltip', class: 'clear-user-status btn gl-button btn-default has-tooltip',
title: s_("Profiles|Clear status") do title: s_("Profiles|Clear status") do
= sprite_icon("close") = sprite_icon("close")
......
---
title: Add btn-default and remove extra right margin
merge_request: 54134
author: Yogi (@yo)
type: changed
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