Merge 3.9 RC5 fixes into master (#6459)
* UI fixes for 3.9 (#6400) * UI fixes for header icon alignment * PLT-6569 - Fixing pin icon in header * PLT-6505 - Updating z-index for emoji picker * Updating z-index for overlaying sidebar * PLT-6134 - Fix for emoji picker on comments * Reverting emoji picker fix * Fixing alignment for header icons * Removing channel title changes * Don't show mention badge for active channel (#6411) * PLT-6583 - Fixing RHS compact view (#6413)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c998fd4f52
Коммит
04cd7b1a89
@@ -896,7 +896,7 @@ export default class Navbar extends React.Component {
|
|||||||
const searchButton = (
|
const searchButton = (
|
||||||
<button
|
<button
|
||||||
type='button'
|
type='button'
|
||||||
className='navbar-toggle pull-right'
|
className='navbar-toggle navbar-search pull-right'
|
||||||
onClick={this.showSearch}
|
onClick={this.showSearch}
|
||||||
>
|
>
|
||||||
<span className='fa fa-search icon-search icon--white'/>
|
<span className='fa fa-search icon-search icon--white'/>
|
||||||
|
|||||||
@@ -379,7 +379,7 @@ export default class RhsComment extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.props.compactDisplay) {
|
if (this.props.compactDisplay) {
|
||||||
className += 'post--compact';
|
className += ' post--compact';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (post.is_pinned) {
|
if (post.is_pinned) {
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ export default class RhsRootPost extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.props.compactDisplay) {
|
if (this.props.compactDisplay) {
|
||||||
className += 'post--compact';
|
className += ' post--compact';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (post.is_pinned) {
|
if (post.is_pinned) {
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ export default class SearchResultsItem extends React.Component {
|
|||||||
let compactClass = '';
|
let compactClass = '';
|
||||||
const profilePicContainer = (<div className='post__img'>{profilePic}</div>);
|
const profilePicContainer = (<div className='post__img'>{profilePic}</div>);
|
||||||
if (this.props.compactDisplay) {
|
if (this.props.compactDisplay) {
|
||||||
compactClass = 'post--compact';
|
compactClass = ' post--compact';
|
||||||
}
|
}
|
||||||
|
|
||||||
let fileAttachment = null;
|
let fileAttachment = null;
|
||||||
|
|||||||
@@ -143,15 +143,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.emoji-picker {
|
.emoji-picker {
|
||||||
|
@include user-select(none);
|
||||||
|
border-radius: 3px;
|
||||||
|
border: 1px solid;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@include user-select(none);
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
top: -361px;
|
top: -361px;
|
||||||
right: 0px;
|
|
||||||
width: 278px;
|
width: 278px;
|
||||||
border: 1px solid;
|
z-index: 8;
|
||||||
border-radius: 3px;
|
|
||||||
|
|
||||||
.emoji-picker__search-container {
|
.emoji-picker__search-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
line-height: 56px;
|
line-height: 56px;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 5;
|
z-index: 9;
|
||||||
|
|
||||||
.member-popover__trigger,
|
.member-popover__trigger,
|
||||||
.pinned-posts-button {
|
.pinned-posts-button {
|
||||||
|
|||||||
@@ -41,14 +41,6 @@
|
|||||||
width: 43px;
|
width: 43px;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
|
|
||||||
> span {
|
|
||||||
> svg {
|
|
||||||
position: relative;
|
|
||||||
top: 13px;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-bar {
|
.icon-bar {
|
||||||
background: $white;
|
background: $white;
|
||||||
width: 21px;
|
width: 21px;
|
||||||
@@ -57,8 +49,7 @@
|
|||||||
.icon-search {
|
.icon-search {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 11px;
|
top: -2px;
|
||||||
vertical-align: top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon--white {
|
.icon--white {
|
||||||
|
|||||||
@@ -39,10 +39,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post__img {
|
|
||||||
width: 43px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__body {
|
.post__body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,10 +48,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post__img {
|
|
||||||
width: 43px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__content {
|
.post__content {
|
||||||
padding: 0 10px 0 0;
|
padding: 0 10px 0 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@
|
|||||||
right: -1px;
|
right: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.send-button {
|
.send-button {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -126,6 +126,7 @@
|
|||||||
.sidebar--right {
|
.sidebar--right {
|
||||||
@include single-transition(all, .35s, ease);
|
@include single-transition(all, .35s, ease);
|
||||||
@include translateX(100%);
|
@include translateX(100%);
|
||||||
|
z-index: 10;
|
||||||
|
|
||||||
&.move--left,
|
&.move--left,
|
||||||
&.webrtc--show {
|
&.webrtc--show {
|
||||||
|
|||||||
@@ -560,7 +560,9 @@ ChannelStore.dispatchToken = AppDispatcher.register((payload) => {
|
|||||||
var markRead = id === ChannelStore.getCurrentId() && window.isActive;
|
var markRead = id === ChannelStore.getCurrentId() && window.isActive;
|
||||||
|
|
||||||
if (TeamStore.getCurrentId() === teamId || teamId === '') {
|
if (TeamStore.getCurrentId() === teamId || teamId === '') {
|
||||||
ChannelStore.incrementMentionsIfNeeded(id, action.websocketMessageProps);
|
if (!markRead) {
|
||||||
|
ChannelStore.incrementMentionsIfNeeded(id, action.websocketMessageProps);
|
||||||
|
}
|
||||||
ChannelStore.incrementMessages(id, markRead);
|
ChannelStore.incrementMessages(id, markRead);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user