Skip to content

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

small ui improvements

Ilian Sapundshiev04079bd81c68
diff --git a/app/components/LocationManager.js b/app/components/LocationManager.js
index 6e250169f..561045cf4 100644
--- a/app/components/LocationManager.js
+++ b/app/components/LocationManager.js
@@ -607,7 +607,7 @@ class LocationManager extends React.Component<Props, State> {
// e.preventDefault();
// this.loadSubDirectories(location, 1);
// }}
- style={{ marginRight: 0 }}
+ style={{ minWidth: 'auto' }}
>
{ location.type === locationType.TYPE_CLOUD ?
(<CloudLocationIcon className={this.props.classes.icon} />) :
@@ -630,6 +630,7 @@ class LocationManager extends React.Component<Props, State> {
<IconButton
aria-label={i18n.t('core:options')}
aria-haspopup="true"
+ edge="end"
data-tid={'locationMoreButton_' + location.name}
onClick={event => this.handleLocationContextMenuClick(event, location)}
onContextMenu={event => this.handleLocationContextMenuClick(event, location)}
diff --git a/app/components/SidePanels.css.js b/app/components/SidePanels.css.js
index 6db845fa5..d0cdab790 100644
--- a/app/components/SidePanels.css.js
+++ b/app/components/SidePanels.css.js
@@ -82,7 +82,7 @@ export default (theme) => ({
textTransform: 'uppercase',
flex: 1,
paddingLeft: 5,
- paddingTop: 6,
+ paddingTop: 12,
},
nested: {
paddingLeft: theme.spacing(4)
diff --git a/app/components/TagLibrary.js b/app/components/TagLibrary.js
index b319de4cd..7ab2b0a68 100644
--- a/app/components/TagLibrary.js
+++ b/app/components/TagLibrary.js
@@ -223,7 +223,7 @@ class TagLibrary extends React.Component<Props, State> {
onContextMenu={event => this.handleTagGroupMenu(event, tagGroup)}
title={'Number of tags in this tag group: ' + tagGroup.children.length}
>
- <ListItemIcon style={{ marginRight: 0 }}>
+ <ListItemIcon style={{ minWidth: 'auto' }}>
{tagGroup.expanded ? <ArrowDownIcon /> : <ArrowRightIcon />}
</ListItemIcon>
<Typography
@@ -243,8 +243,8 @@ class TagLibrary extends React.Component<Props, State> {
<IconButton
aria-label={i18n.t('core:options')}
aria-haspopup="true"
+ edge="end"
data-tid={'tagLibraryMoreButton_' + tagGroup.title.replace(/ /g, '_')}
- style={{ marginRight: -4 }}
onClick={event => this.handleTagGroupMenu(event, tagGroup)}
onContextMenu={event => this.handleTagGroupMenu(event, tagGroup)}
>
@@ -304,7 +304,6 @@ class TagLibrary extends React.Component<Props, State> {
</Typography>
{ !isTagLibraryReadOnly && (
<IconButton
- style={{ paddingTop: 0 }}
data-tid="tagLibraryMenu"
onClick={this.handleTagLibraryMenu}
>
diff --git a/app/components/VerticalNavigation.js b/app/components/VerticalNavigation.js
index 09860d64b..8f7ee5f69 100644
--- a/app/components/VerticalNavigation.js
+++ b/app/components/VerticalNavigation.js
@@ -422,7 +422,7 @@ class VerticalNavigation extends React.Component<Props, State> {
<div style={this.styles.panel}>
<IconButton
onClick={this.props.toggleAboutDialog}
- style={{ ...this.styles.button, marginTop: 10, marginBottom: 10 }}
+ style={{ ...this.styles.button, marginTop: 10, marginBottom: 16 }}
title={i18n.t('core:aboutTitle')}
data-tid="aboutTagSpaces"
>