mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
reset table-padding
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
@@ -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 */}
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user