Skip to content
Permalink
Browse files

[FIX] mail: chatter's button alignment and composer width

  • Loading branch information...
pparidans committed Mar 19, 2019
1 parent 3f6d090 commit 39c6069d8ef1aa0e21cfb39663dc55d0fe2afe39
Showing with 20 additions and 4 deletions.
  1. +17 −4 addons/mail/static/src/scss/chatter.scss
  2. +3 −0 addons/mail/static/src/scss/composer.scss
@@ -22,31 +22,36 @@
display: flex;

> .o_topbar_right_area {
height: $o-statusbar-height;
border-bottom: 1px solid transparent;
position: relative;
float: right;
flex: 1 1 auto;

.o_chatter_button_attachment {
height: $o-statusbar-height - 2px;
height: $o-statusbar-height;
float: right;
padding: 0px;
margin-right: 25px;

.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;
}
.btn {
@extend .text-nowrap;
padding-right: $btn-padding-x;
padding-left: $btn-padding-x;
}

}

@@ -65,3 +70,11 @@
}
}
}

@include media-breakpoint-down(sm) {
.o_chatter .o_chatter_topbar > .o_topbar_right_area {
.o_chatter_button_attachment {
margin-right: 0;
}
}
}
@@ -142,6 +142,9 @@
&:not(.o_chat_inline_composer) {
flex-flow: row wrap;

.o_composer_container {
max-width: 100%;
}
.o_composer_container, .o_composer_button_send {
flex: 1 0 100%;
}

0 comments on commit 39c6069

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