Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: finetunning the directory tree in location manager

Ilian Sapundshiev8f4f099eec5c
diff --git a/app/app.global.css b/app/app.global.css
index b5215c47d..39b405638 100644
--- a/app/app.global.css
+++ b/app/app.global.css
@@ -34,6 +34,14 @@ body {
z-index: 1;
}
+.rc-table-row-expand-icon {
+ width: 13px !important;
+ height: 13px !important;
+ line-height: 13px !important;
+ margin: 5px;
+ cursor: pointer;
+}
+
#root {
height: 100%;
}
diff --git a/app/components/DirectoryTreeView.tsx b/app/components/DirectoryTreeView.tsx
index b36696da2..aaba06cea 100644
--- a/app/components/DirectoryTreeView.tsx
+++ b/app/components/DirectoryTreeView.tsx
@@ -126,9 +126,14 @@ const DirectoryTreeView = forwardRef(
const renderNameColumnAction = field => {
const children = (
- <span style={{ fontSize: 15, marginLeft: 5 }} title={field}>
+ <span style={{ fontSize: 15 }} title={field}>
<FolderIcon
- style={{ marginTop: 0, marginBottom: -8 }}
+ style={{
+ marginTop: 0,
+ marginLeft: 3,
+ marginRight: 6,
+ marginBottom: -8
+ }}
className={props.classes.icon}
/>
{field && field.length > 25 ? field.substr(0, 25) + '...' : field}
diff --git a/app/components/LocationView.tsx b/app/components/LocationView.tsx
index 8517635e9..ee2630bc1 100644
--- a/app/components/LocationView.tsx
+++ b/app/components/LocationView.tsx
@@ -244,14 +244,25 @@ const LocationView = (props: Props) => {
// this.loadSubDirectories(location, 1);
// }}
style={{
- minWidth: 'auto'
+ minWidth: 'auto',
+ cursor: 'pointer'
}}
onClick={handleLocationIconClick}
>
{isCloudLocation ? (
- <CloudLocationIcon className={props.classes.icon} />
+ <CloudLocationIcon
+ style={{
+ cursor: 'pointer'
+ }}
+ className={props.classes.icon}
+ />
) : (
- <LocationIcon className={props.classes.icon} />
+ <LocationIcon
+ style={{
+ cursor: 'pointer'
+ }}
+ className={props.classes.icon}
+ />
)}
</ListItemIcon>