1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 20:01:10 +00:00

Published repo style (#3832)

* fix FF style

* change anonymous user search
This commit is contained in:
Michael An
2019-07-10 11:46:02 +08:00
committed by Daniel Pan
parent 455a593f61
commit cfcb72a255
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import React, { Component, Fragment } from 'react';
import PropTypes from 'prop-types';
import MediaQuery from 'react-responsive';
import { seafileAPI } from '../../utils/seafile-api';
import { gettext, siteRoot } from '../../utils/constants';
import { gettext, siteRoot, username } from '../../utils/constants';
import SearchResultItem from './search-result-item';
import editorUtilities from '../../utils/editor-utilties';
import More from '../more';
@@ -276,7 +276,7 @@ class Search extends Component {
onChange={this.onChangeHandler}
autoComplete="off"
/>
{this.state.isCloseShow &&
{(this.state.isCloseShow && username) &&
<i className='search-icon-right input-icon-addon fas fa-external-link-alt search-icon-arrow'
onClick={this.onSearchPage}></i>
}
@@ -309,7 +309,7 @@ class Search extends Component {
onChange={this.onChangeHandler}
autoComplete="off"
/>
{this.state.isCloseShow &&
{(this.state.isCloseShow && username) &&
<i className='search-icon-right input-icon-addon fas fa-external-link-alt search-icon-arrow'
onClick={this.onSearchPage}></i>
}

View File

@@ -84,8 +84,8 @@
}
.search-result-item .item-content {
flex: 1;
width: 0;
margin-left: 0.25rem;
overflow-x: hidden;
}
.item-content .item-name a {
color: #EA8102 !important;