Skip to content
Permalink
Browse files

[FIX] mail: chatter's attachments & followers alignment on mobile

  • Loading branch information...
pparidans committed Mar 19, 2019
1 parent 3f6d090 commit 274cd5ed8ce602b7492f20549d65c8e2b8600046
Showing with 11 additions and 7 deletions.
  1. +10 −6 addons/mail/static/src/scss/chatter.scss
  2. +1 −1 addons/mail/static/src/scss/followers.scss
@@ -24,28 +24,32 @@
> .o_topbar_right_area {
border-bottom: 1px solid transparent;
position: relative;
float: right;
display: flex;
justify-content: flex-end;
flex: 1 1 auto;

.o_chatter_button_attachment {
height: $o-statusbar-height - 2px;
float: right;
padding: 0px;
height: $o-statusbar-height;
order: -1;
padding-right: 7px;
padding-left: 7px;
margin-right: 25px;
white-space: nowrap;

.fa-paperclip, .o_chatter_attachment_button_count {
font-weight: bold;
}
}
.o_followers {
height: $o-statusbar-height + 1;
height: $o-statusbar-height;
border-bottom: 1px solid transparent;
flex: 0 1 auto;
}
}
> .btn {
height: $o-statusbar-height + 1;
height: $o-statusbar-height;
border: 1px solid transparent;
white-space: nowrap;
}

}
@@ -1,5 +1,4 @@
.o_followers {
float: right;
@include media-breakpoint-down(sm) {
display: none !important; // Hide the followers in mobile
}
@@ -35,6 +34,7 @@
padding-right: 0;
color: $body-color;
font-weight: bold;
white-space: nowrap;

.o_follow, .o_followers_unfollow, .o_followers_following {
display: none;

0 comments on commit 274cd5e

Please sign in to comment.
You can’t perform that action at this time.