diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-04-27 16:01:09 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-07-27 12:36:54 +0200 |
| commit | 81f359c81c69af2a5ec0645602e2bb43b2e16721 (patch) | |
| tree | dc3ebb2391acf9c3e51def6dc1407586c8d9e2cb /addons/mail/static/src/xml/followers.xml | |
| parent | 7f10b55a5035bd3cab48ba58a519510a25b94f60 (diff) | |
[REF] *: BS4, remove the use of btn-sm
Odoo made the bad choice of using the 'btn-sm' class for every button
instead of configuring the padding for default 'btn' to be smaller.
In BS4, the style of btn-sm is actually more complex, lowering the
font-size too. Also, btn-xs was removed so we would not have the
possibility to display smaller button than our default ones.
This commit removes btn-sm wherever it was used. Unfortunately, this
might remove it at some places where it made sense but this can be
restored in a second time.
Diffstat (limited to 'addons/mail/static/src/xml/followers.xml')
| -rw-r--r-- | addons/mail/static/src/xml/followers.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/mail/static/src/xml/followers.xml b/addons/mail/static/src/xml/followers.xml index add787b7e03..a19831308a6 100644 --- a/addons/mail/static/src/xml/followers.xml +++ b/addons/mail/static/src/xml/followers.xml @@ -7,7 +7,7 @@ <t t-name="mail.Followers"> <div class="o_followers"> <div class="o_followers_title_box"> - <button class="btn btn-sm btn-link dropdown-toggle" title="Dropdown menu - Followers" + <button class="btn btn-link dropdown-toggle" title="Dropdown menu - Followers" data-toggle="dropdown" aria-expanded="false"> <i class="fa fa-user" role="img" aria-label="Dropdown menu - Followers"></i> <span class="o_followers_count"/> @@ -15,14 +15,14 @@ <ul class="dropdown-menu o_followers_list" role="menu"></ul> </div> <div class="o_followers_actions"> - <div class="btn-group btn-group-sm o_subtypes_list"> - <button class="btn btn-sm btn-link o_followers_follow_button o_followers_notfollow"> + <div class="btn-group o_subtypes_list"> + <button class="btn btn-link o_followers_follow_button o_followers_notfollow"> <span class="o_follow">Follow</span> <span class="fa fa-times o_followers_unfollow"/> <span class="o_followers_unfollow"> Unfollow</span> <span class="fa fa-check o_followers_following"/> <span class="o_followers_following"> Following</span> - </button><button class="btn btn-sm btn-link dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + </button><button class="btn btn-link dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <span class="fa fa-bell" role="img" aria-label="Alarm menu" title="Alarm menu"/> </button> <ul class="dropdown-menu" role="menu"/> |
