Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 21, 2025
1 parent 05b6da3 commit 9022074
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/jupyter-ai/src/components/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export type SelectProps = Omit<MuiSelectProps<string>, 'value' | 'onChange'> & {
export function Select(props: SelectProps): JSX.Element {
return (
<FormControl fullWidth>
<InputLabel
sx={{ color: 'var(--jp-ui-font-color1)' }}
<InputLabel
sx={{ color: 'var(--jp-ui-font-color1)' }}
>{props.label}</InputLabel>
<MuiSelect
{...props}
Expand All @@ -44,10 +44,10 @@ export function Select(props: SelectProps): JSX.Element {
MenuProps={{ sx: { maxHeight: '50%', minHeight: 400 } }}
sx={{
'& .MuiOutlinedInput-notchedOutline': {
borderColor: "var(--jp-ui-font-color1)",
borderColor: "var(--jp-ui-font-color1)",
},
'&:hover .MuiOutlinedInput-notchedOutline': {
borderColor: "var(--jp-ui-font-color1)",
borderColor: "var(--jp-ui-font-color1)",
},
'& .MuiSelect-select': {
color: "var(--jp-ui-font-color1)",
Expand All @@ -64,7 +64,7 @@ export function Select(props: SelectProps): JSX.Element {
'-webkit-text-fill-color': 'var(--jp-ui-font-color1) !important',
},
}}

>
{props.children}
</MuiSelect>
Expand Down

0 comments on commit 9022074

Please sign in to comment.