1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

reset table-padding

This commit is contained in:
shanshuirenjia
2018-12-13 15:16:18 +08:00
parent 2b65bb2afe
commit e6c486ac09
4 changed files with 17 additions and 11 deletions

View File

@@ -1,3 +1,17 @@
.group-table-container {
padding-top: 0.625rem !important;
}
.group-table-container thead th { /* overwrite bootstrap styles */
padding: 0;
font-size: 0;
border: 0;
}
.group-table-container td { /* overwrite bootstrap styles */
border-top:0;
}
.group-item-heading { .group-item-heading {
font-size: 16px; font-size: 16px;
font-weight: normal; font-weight: normal;
@@ -12,14 +26,7 @@
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
margin: 0 0 32px; margin: 0 0 32px;
} }
.group-item-table thead th { /* overwrite bootstrap styles */
padding: 0;
font-size: 0;
border: 0;
}
.group-item-table td { /* overwrite bootstrap styles */
border-top:0;
}
.group-top-op-icon { .group-top-op-icon {
display: inline-block; display: inline-block;
font-size: 22px; font-size: 22px;

View File

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

View File

@@ -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"> <div className="cur-view-content group-table-container">
{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 */}

View File

@@ -791,7 +791,6 @@ table th, table td {
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
table th { table th {
padding-top: 1rem;
text-align: left; text-align: left;
font-weight: normal; font-weight: normal;
font-size: 13px; font-size: 13px;