1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

search page style

This commit is contained in:
Michael An
2019-05-27 14:58:50 +08:00
parent 82aef77ce7
commit 405699d6fd
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@
.search-page .search-result-container {
border-radius: 0;
box-shadow: none;
margin-left: 1rem;
padding: 1.25rem 1rem;
}
.search-page .search-page-container {
padding: 1.25rem 1rem;

View File

@@ -65,7 +65,7 @@ class SearchResults extends React.Component {
const { resultItems } = this.props;
const total = resultItems.length;
return (
<div className="search-result-container position-static mt-4">
<div className="search-result-container position-static">
<ul className="search-result-list">
<p className="tip">{total > 0 ? (total + ' ' + (total === 1 ? gettext('result') : gettext('results'))) : gettext('No result')}</p>
{resultItems.map((item, index) => {