mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 08:53:14 +00:00
update ui style (#2979)
This commit is contained in:
@@ -13,7 +13,7 @@ const propTypes = {
|
|||||||
onNodeCollapse: PropTypes.func.isRequired,
|
onNodeCollapse: PropTypes.func.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
const PADDING_LEFT = 12;
|
const PADDING_LEFT = 10;
|
||||||
|
|
||||||
class TreeView extends React.Component {
|
class TreeView extends React.Component {
|
||||||
|
|
||||||
|
@@ -106,7 +106,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cur-view-content {
|
.cur-view-content {
|
||||||
padding: 0.625rem 1rem 1.25rem;
|
padding: 0rem 1rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
|
padding-left: 0 !important;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13,7 +14,6 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee;
|
||||||
margin-left: -0.75rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dir-content-nav:hover {
|
.dir-content-nav:hover {
|
||||||
@@ -24,14 +24,14 @@
|
|||||||
flex: 1 0 75% !important;
|
flex: 1 0 75% !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-right: -1.75rem;
|
margin-right: -1rem;
|
||||||
padding:0 0.75rem;
|
padding:0 0.75rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*tree view */
|
/*tree view */
|
||||||
.tree-view {
|
.tree-view {
|
||||||
padding: 0 12px 0 0;
|
padding: 12px 12px 0 0;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
.tree-node-inner .right-icon {
|
.tree-node-inner .right-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0.5rem;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 1.5rem;
|
width: 1.5rem;
|
||||||
color: #888;
|
color: #888;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
.repo-info-bar {
|
.repo-info-bar {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
margin-top: 10px;
|
||||||
border: 1px solid #e6e6dd;
|
border: 1px solid #e6e6dd;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
/* background: #f8f8f8; */
|
/* background: #f8f8f8; */
|
||||||
|
Reference in New Issue
Block a user