Closing RHS if jump is clicked for archives
Этот коммит содержится в:
@@ -19,6 +19,11 @@ export default class SearchResultsItem extends React.Component {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
EventHelpers.emitPostFocusEvent(this.props.post.id);
|
EventHelpers.emitPostFocusEvent(this.props.post.id);
|
||||||
|
|
||||||
|
if ($(window).width() < 768) {
|
||||||
|
$('.sidebar--right').removeClass('move--left');
|
||||||
|
$('.inner__wrap').removeClass('move--left');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
.inner__wrap {
|
.inner__wrap {
|
||||||
|
@include single-transition(all, 0.5s, ease);
|
||||||
&.move--left {
|
&.move--left {
|
||||||
margin-right: 400px;
|
margin-right: 400px;
|
||||||
.search-bar__container {
|
.search-bar__container {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user