@@ -92,7 +92,7 @@ class SearchPage extends React.Component {
render() {
return (
<div>
- <div className="search-page-input">
+ <div className="search-page-input sps sps--abv">
<SearchPageForm
t={this.props.t}
onSearchFormChanged={this.search}
@@ -264,11 +264,6 @@ class SearchResult extends React.Component {
);
});
- // TODO あとでなんとかする
- setTimeout(() => {
- $('#search-result-list > nav').affix({ offset: { top: 50 } });
- }, 1200);
-
/*
UI あとで考える
<span className="search-result-meta">Found: {this.props.searchResultMeta.total} pages with "{this.props.searchingKeyword}"</span>
@@ -180,11 +180,9 @@
.search-page-input {
position: sticky;
- top: 0;
+ top: 15px;
z-index: 1;
- // for sticky layout
- padding-top: 15px;
margin-bottom: 15px;
.input-group-btn .btn {