1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 21:30:39 +00:00

repair code error

This commit is contained in:
shanshuirenjia
2018-12-13 16:35:11 +08:00
parent e6c486ac09
commit 3ee40ada43
4 changed files with 5 additions and 9 deletions

View File

@@ -131,7 +131,7 @@ class App extends Component {
} else {
let navTab = {
url: siteRoot + tabName + '/',
showName: this.getTabShowName(tabName, groupID),
showName: this.getTabShowName(tabName),
name: tabName,
id: null,
};

View File

@@ -1,14 +1,10 @@
.group-table-container {
padding-top: 0.625rem !important;
}
.group-table-container thead th { /* overwrite bootstrap styles */
.cur-view-content-groups thead th { /* overwrite bootstrap styles */
padding: 0;
font-size: 0;
border: 0;
}
.group-table-container td { /* overwrite bootstrap styles */
.cur-view-content-groups td { /* overwrite bootstrap styles */
border-top:0;
}

View File

@@ -95,7 +95,7 @@
}
.cur-view-content {
padding: 1.625rem 1rem 1.25rem;
padding: 0.625rem 1rem 1.25rem;
height: calc(100% - 40px);
flex: 1;
min-height: 0;

View File

@@ -139,7 +139,7 @@ class GroupsView extends React.Component {
<div className="cur-view-path">
<h3 className="sf-heading">{gettext("My Groups")}</h3>
</div>
<div className="cur-view-content group-table-container">
<div className="cur-view-content cur-view-content-groups">
{this.state.isLoading && <Loading />}
{(!this.state.isLoading && this.state.errorMsg !== '') && this.state.errorMsg}
{/* {(!this.state.isLoading && this.state.groupList.length === 0 ) && emptyTip} //todo */}