1
0
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:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -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) => {

View File

@@ -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>