Browse Source

FIX | update filter user,taxonomies selectors & date picker layouts

master^2
Yevhen Romanenko 2 years ago committed by Coder
parent
commit
a43ab6a605
  1. 1
      src/modules/tasks/hooks/use-task-filter.hook.ts
  2. 5
      src/modules/taxonomies/smart-components/select-taxonomies-modal/index.tsx
  3. 5
      src/modules/users/smart-components/select-user-modal/index.tsx

1
src/modules/tasks/hooks/use-task-filter.hook.ts

@ -97,6 +97,7 @@ export const useTaskFilter = ({ onSubmit, ...props }: IProps) => { @@ -97,6 +97,7 @@ export const useTaskFilter = ({ onSubmit, ...props }: IProps) => {
defaultValue: values[key] ? values[key] : new Date(),
onClose: selectedDate =>
onSelect<DateKeysEnum>(key, selectedDate || minValue),
mode: 'date',
})
}

5
src/modules/taxonomies/smart-components/select-taxonomies-modal/index.tsx

@ -267,10 +267,11 @@ const createStyles = (theme: PartialTheme) => @@ -267,10 +267,11 @@ const createStyles = (theme: PartialTheme) =>
marginLeft: 10,
fontSize: $size(16),
textAlign: 'left',
opacity: 0.5,
opacity: 1,
color: theme?.$textPrimary,
},
itemTextActive: {
opacity: 1,
// opacity: 1,
fontWeight: '600',
},
})

5
src/modules/users/smart-components/select-user-modal/index.tsx

@ -259,10 +259,11 @@ const createStyles = (theme: PartialTheme) => @@ -259,10 +259,11 @@ const createStyles = (theme: PartialTheme) =>
marginLeft: 10,
fontSize: $size(16),
textAlign: 'left',
opacity: 0.5,
opacity: 1,
color: theme.$textPrimary,
},
itemTextActive: {
opacity: 1,
// opacity: 1,
fontWeight: '600',
},
})

Loading…
Cancel
Save