Skip to content

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

ui optimizations

Ilian Sapundshievee8531c376f3
diff --git a/app/components/LocationManager.js b/app/components/LocationManager.js
index d0434619c..700a31be6 100644
--- a/app/components/LocationManager.js
+++ b/app/components/LocationManager.js
@@ -618,17 +618,21 @@ class LocationManager extends React.Component<Props, State> {
{i18n.t('core:locationManager')}
</Typography>
</div>
- <Button
- data-tid="createNewLocation"
- onClick={this.showCreateLocationDialog}
- title={i18n.t('core:createLocationTitle')}
- className={classes.mainActionButton}
- size="small"
- color="primary"
- >
- <CreateLocationIcon className={classNames(classes.leftIcon)} />
- {i18n.t('core:createLocationTitle')}
- </Button>
+ <div style={{ width: '100%', textAlign: 'center' }}>
+ <Button
+ data-tid="createNewLocation"
+ onClick={this.showCreateLocationDialog}
+ title={i18n.t('core:createLocationTitle')}
+ className={classes.mainActionButton}
+ size="small"
+ variant="outlined"
+ color="primary"
+ style={{ width: '95%' }}
+ >
+ {/* <CreateLocationIcon className={classNames(classes.leftIcon)} /> */}
+ {i18n.t('core:createLocationTitle')}
+ </Button>
+ </div>
<div>
<CreateLocationDialog
key={this.state.createLocationDialogKey}
diff --git a/app/components/Search.js b/app/components/Search.js
index f9b30fd44..0aea71563 100644
--- a/app/components/Search.js
+++ b/app/components/Search.js
@@ -358,7 +358,7 @@ class Search extends React.Component<Props, State> {
<Button
disabled={indexing}
id="searchButton"
- variant="contained"
+ variant="outlined"
size="small"
color="primary"
onClick={this.executeSearch}