mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Closing RHS if jump is clicked for archives
This commit is contained in:
@@ -19,6 +19,11 @@ export default class SearchResultsItem extends React.Component {
|
||||
e.preventDefault();
|
||||
|
||||
EventHelpers.emitPostFocusEvent(this.props.post.id);
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
$('.sidebar--right').removeClass('move--left');
|
||||
$('.inner__wrap').removeClass('move--left');
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
.inner__wrap {
|
||||
@include single-transition(all, 0.5s, ease);
|
||||
&.move--left {
|
||||
margin-right: 400px;
|
||||
.search-bar__container {
|
||||
|
||||
Reference in New Issue
Block a user