Skip to content

Commit

Permalink
style(dashboard): misc
Browse files Browse the repository at this point in the history
  • Loading branch information
GerilLeto committed Dec 10, 2024
1 parent 0e11316 commit cd107b8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,21 @@ export function YAxisField({ control, watch }: IYAxisField) {
control={control}
render={({ field }) => (
<Checkbox
size="sm"
checked={field.value}
onChange={(event) => field.onChange(event.currentTarget.checked)}
label={t('chart.y_axis.inverse')}
styles={{
root: {
transform: 'translateY(6px)',
},
label: {
cursor: 'pointer',
userSelect: 'none',
},
input: {
cursor: 'pointer',
},
}}
/>
)}
Expand Down

0 comments on commit cd107b8

Please sign in to comment.