1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

libraries list view add margin bottom (#7040)

This commit is contained in:
Michael An
2024-11-14 16:48:23 +08:00
committed by GitHub
parent 922c53b3da
commit d765a003ac
7 changed files with 35 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { gettext } from '../../utils/constants';
import { Utils } from '../../utils/utils';
import SharedRepoListItem from './shared-repo-list-item';
@@ -147,12 +148,12 @@ class SharedRepoListView extends React.Component {
};
renderPCUI = () => {
const { theadHidden = false, currentViewMode = LIST_MODE, currentGroup, libraryType } = this.props;
const { theadHidden = false, currentViewMode = LIST_MODE, currentGroup, libraryType, inAllLibs } = this.props;
const { sortByName, sortByTime, sortBySize, sortIcon } = this.getSortMetaData();
const content = currentViewMode == LIST_MODE ? (
<>
<table className={theadHidden ? 'table-thead-hidden' : ''}>
<table className={classNames({ 'table-thead-hidden': theadHidden }, { 'repos-container': !inAllLibs })}>
<thead>
<tr>
<th width="4%"></th>