Skip to content

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

chore: ui fixes

Ilian Sapundshiev3b18552c47c4
diff --git a/src/renderer/components/EntryProperties.tsx b/src/renderer/components/EntryProperties.tsx
index a48e98652..1de33fd52 100644
--- a/src/renderer/components/EntryProperties.tsx
+++ b/src/renderer/components/EntryProperties.tsx
@@ -920,6 +920,7 @@ function EntryProperties(props: Props) {
<Tooltip title={t('core:generateDownloadLink')}>
<TsButton
onClick={() => setShowSharingLinkDialog(true)}
+ variant="text"
startIcon={
<QRCodeIcon
style={{ color: theme.palette.text.secondary }}
@@ -1078,6 +1079,7 @@ function EntryProperties(props: Props) {
<TsButton
data-tid="changeThumbnailTID"
fullWidth
+ variant="text"
onClick={toggleThumbFilesDialog}
>
{t('core:change')}
@@ -1129,6 +1131,7 @@ function EntryProperties(props: Props) {
<TsButton
data-tid="changeBackgroundImageTID"
fullWidth
+ variant="text"
onClick={toggleBgndImgDialog}
>
{t('core:change')}
diff --git a/src/renderer/components/RenderHistory.tsx b/src/renderer/components/RenderHistory.tsx
index 02d59da58..c070bce3c 100644
--- a/src/renderer/components/RenderHistory.tsx
+++ b/src/renderer/components/RenderHistory.tsx
@@ -70,6 +70,7 @@ function RenderHistory(props: Props) {
<Grid item xs={10} style={{ minWidth: 245, maxWidth: 245 }}>
<TsButton
data-tid={historyKey + 'TID' + dataTidFormat(itemName)}
+ variant="text"
style={{
textTransform: 'none',
fontWeight: 'normal',
diff --git a/src/renderer/components/dialogs/OpenLinkDialog.tsx b/src/renderer/components/dialogs/OpenLinkDialog.tsx
index 262833be1..8a583ed43 100644
--- a/src/renderer/components/dialogs/OpenLinkDialog.tsx
+++ b/src/renderer/components/dialogs/OpenLinkDialog.tsx
@@ -105,7 +105,7 @@ function OpenLinkDialog(props: Props) {
<DialogCloseButton testId="closeOpenLinkTID" onClose={onClose} />
</DialogTitle>
<DialogContent style={{ minWidth: fullScreen ? 100 : 400 }}>
- <FormControl fullWidth={true} error={inputError}>
+ <FormControl fullWidth={true}>
<TsTextField
autoFocus
name="name"