Skip to content

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

fixing sizes of the color boxes

Ilian Sapundshiev5c1819946521
diff --git a/app/components/dialogs/CreateTagGroupDialog.js b/app/components/dialogs/CreateTagGroupDialog.js
index a665ade25..7cf9c7c78 100644
--- a/app/components/dialogs/CreateTagGroupDialog.js
+++ b/app/components/dialogs/CreateTagGroupDialog.js
@@ -125,8 +125,8 @@ class CreateTagGroupDialog extends React.Component<Props, State> {
renderContent = () => {
const styles = {
color: {
- width: 36,
- height: 14,
+ width: 100,
+ height: 30,
borderRadius: 2,
borderWidth: 1,
borderStyle: 'solid',
@@ -134,8 +134,8 @@ class CreateTagGroupDialog extends React.Component<Props, State> {
background: this.state.color
},
textcolor: {
- width: 36,
- height: 14,
+ width: 100,
+ height: 30,
borderRadius: 2,
borderWidth: 1,
borderStyle: 'solid',
diff --git a/app/components/dialogs/EditTagDialog.js b/app/components/dialogs/EditTagDialog.js
index bec2a1777..b5af97fc9 100644
--- a/app/components/dialogs/EditTagDialog.js
+++ b/app/components/dialogs/EditTagDialog.js
@@ -139,8 +139,8 @@ class EditTagDialog extends React.Component<Props, State> {
const styles = {
color: {
- width: 36,
- height: 14,
+ width: 100,
+ height: 30,
borderRadius: 2,
borderWidth: 1,
borderStyle: 'solid',
@@ -149,8 +149,8 @@ class EditTagDialog extends React.Component<Props, State> {
background: color,
},
textcolor: {
- width: 36,
- height: 14,
+ width: 100,
+ height: 30,
borderRadius: 2,
borderWidth: 1,
borderStyle: 'solid',
diff --git a/app/components/dialogs/EditTagGroupDialog.js b/app/components/dialogs/EditTagGroupDialog.js
index 9b5180c7f..11e4f6f7a 100644
--- a/app/components/dialogs/EditTagGroupDialog.js
+++ b/app/components/dialogs/EditTagGroupDialog.js
@@ -148,8 +148,8 @@ class EditTagGroupDialog extends React.Component<Props, State> {
const { color, textcolor, modifiedDate } = this.state;
const styles = {
color: {
- width: 36,
- height: 14,
+ width: 100,
+ height: 30,
borderRadius: 2,
borderWidth: 1,
borderStyle: 'solid',
@@ -158,8 +158,8 @@ class EditTagGroupDialog extends React.Component<Props, State> {
background: color
},
textcolor: {
- width: 36,
- height: 14,
+ width: 100,
+ height: 30,
borderRadius: 2,
borderWidth: 1,
borderStyle: 'solid',