mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
repair code error
This commit is contained in:
@@ -131,7 +131,7 @@ class App extends Component {
|
|||||||
} else {
|
} else {
|
||||||
let navTab = {
|
let navTab = {
|
||||||
url: siteRoot + tabName + '/',
|
url: siteRoot + tabName + '/',
|
||||||
showName: this.getTabShowName(tabName, groupID),
|
showName: this.getTabShowName(tabName),
|
||||||
name: tabName,
|
name: tabName,
|
||||||
id: null,
|
id: null,
|
||||||
};
|
};
|
||||||
|
@@ -1,14 +1,10 @@
|
|||||||
.group-table-container {
|
.cur-view-content-groups thead th { /* overwrite bootstrap styles */
|
||||||
padding-top: 0.625rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-table-container thead th { /* overwrite bootstrap styles */
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-table-container td { /* overwrite bootstrap styles */
|
.cur-view-content-groups td { /* overwrite bootstrap styles */
|
||||||
border-top:0;
|
border-top:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -95,7 +95,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cur-view-content {
|
.cur-view-content {
|
||||||
padding: 1.625rem 1rem 1.25rem;
|
padding: 0.625rem 1rem 1.25rem;
|
||||||
height: calc(100% - 40px);
|
height: calc(100% - 40px);
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
@@ -139,7 +139,7 @@ class GroupsView extends React.Component {
|
|||||||
<div className="cur-view-path">
|
<div className="cur-view-path">
|
||||||
<h3 className="sf-heading">{gettext("My Groups")}</h3>
|
<h3 className="sf-heading">{gettext("My Groups")}</h3>
|
||||||
</div>
|
</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 && <Loading />}
|
||||||
{(!this.state.isLoading && this.state.errorMsg !== '') && this.state.errorMsg}
|
{(!this.state.isLoading && this.state.errorMsg !== '') && this.state.errorMsg}
|
||||||
{/* {(!this.state.isLoading && this.state.groupList.length === 0 ) && emptyTip} //todo */}
|
{/* {(!this.state.isLoading && this.state.groupList.length === 0 ) && emptyTip} //todo */}
|
||||||
|
Reference in New Issue
Block a user