diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/search_results_item.jsx | 5 | ||||
-rw-r--r-- | web/sass-files/sass/partials/_content.scss | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/web/react/components/search_results_item.jsx b/web/react/components/search_results_item.jsx index 731e047b1..cd8359df5 100644 --- a/web/react/components/search_results_item.jsx +++ b/web/react/components/search_results_item.jsx @@ -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() { diff --git a/web/sass-files/sass/partials/_content.scss b/web/sass-files/sass/partials/_content.scss index 4bfdb7a09..da75bc61b 100644 --- a/web/sass-files/sass/partials/_content.scss +++ b/web/sass-files/sass/partials/_content.scss @@ -1,6 +1,7 @@ @charset "UTF-8"; .inner__wrap { + @include single-transition(all, 0.5s, ease); &.move--left { margin-right: 400px; .search-bar__container { |