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

12.0 change triangle icon size 12px (#6245)

* 01 change font

* change triangle icon font size
This commit is contained in:
Michael An
2024-06-21 17:00:51 +08:00
committed by GitHub
parent cbf5943d84
commit d56be9ccd3
14 changed files with 48 additions and 38 deletions

View File

@@ -15,6 +15,7 @@
height: 28px;
width: 100%;
border-radius: 3px;
border: 1px solid rgba(69, 170, 242, 0);
}
.tree-section .tree-section-header.tree-section-header-hover,
@@ -57,7 +58,6 @@
}
.tree-section .tree-section-header .sf3-font-down {
font-size: 12px;
color: #666666;
}

View File

@@ -301,9 +301,9 @@ class TreeNodeView extends React.Component {
onDragLeave={this.onNodeDragLeave}
onDragOver={this.onNodeDragMove}
onDrop={this.onNodeDrop}
style={{paddingLeft: leftIndent}}
style={{paddingLeft: leftIndent + 5}}
>{node.object.name}</div>
<div className="left-icon" style={{left: leftIndent - 45}}>
<div className="left-icon" style={{left: leftIndent - 40}}>
{type === 'dir' && (!node.isLoaded || (node.isLoaded && node.hasChildren())) && (
<i
className={`folder-toggle-icon sf3-font sf3-font-down ${node.isExpanded ? '' : 'rotate-270'}`}