mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
fix code format (#6365)
This commit is contained in:
@@ -19,11 +19,11 @@ class WikiDirListItem extends React.Component {
|
||||
}
|
||||
|
||||
onMouseEnter = () => {
|
||||
this.setState({highlight: true});
|
||||
this.setState({ highlight: true });
|
||||
};
|
||||
|
||||
onMouseLeave = () => {
|
||||
this.setState({highlight: false});
|
||||
this.setState({ highlight: false });
|
||||
};
|
||||
|
||||
onContextMenu = (event) => {
|
||||
|
@@ -15,14 +15,14 @@ class WikiDirListView extends React.Component {
|
||||
render() {
|
||||
const isDesktop = Utils.isDesktop();
|
||||
return (
|
||||
<table className={`table-hover ${isDesktop ? '': 'table-thead-hidden'}`}>
|
||||
<table className={`table-hover ${isDesktop ? '' : 'table-thead-hidden'}`}>
|
||||
<thead>
|
||||
{isDesktop ? (
|
||||
<tr>
|
||||
<th style={{width: '4%'}}></th>
|
||||
<th style={{width: '66%'}}>{gettext('Name')}</th>
|
||||
<th style={{width: '15%'}}>{gettext('Size')}</th>
|
||||
<th style={{width: '15%'}}>{gettext('Last Update')}</th>
|
||||
<th style={{ width: '4%' }}></th>
|
||||
<th style={{ width: '66%' }}>{gettext('Name')}</th>
|
||||
<th style={{ width: '15%' }}>{gettext('Size')}</th>
|
||||
<th style={{ width: '15%' }}>{gettext('Last Update')}</th>
|
||||
</tr>
|
||||
) : (
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user