Skip to content

Commit

Permalink
fixed_css
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajgupta36 committed Jan 25, 2025
1 parent 1670c8e commit 79c152d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions frontend/src/components/SortBy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
SelectRoot,
SelectTrigger,
SelectValueText,
} from 'components/ui/select'
} from 'components/ui/Select'
const SortBy = ({
sortOptions,
selectedSortOption,
Expand All @@ -34,8 +34,11 @@ const SortBy = ({
<SelectLabel className="font-small text-sm text-gray-600 dark:text-gray-300">
Sort By:
</SelectLabel>
<SelectTrigger className="w-auto min-w-[8rem] text-sm">
<SelectTrigger className="width-auto text-sm">
<SelectValueText
paddingRight={'1.4rem'}
width={'auto'}
textWrap="nowrap"
placeholder={
sortOptions.items.find((item) => item.value === selectedSortOption)?.label
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import type { CollectionItem } from '@chakra-ui/react'
import { Select as ChakraSelect, Portal } from '@chakra-ui/react'
import * as React from 'react'
import { CloseButton } from './close-button'
import { CloseButton } from './CloseButton'

interface SelectTriggerProps extends ChakraSelect.ControlProps {
clearable?: boolean
Expand Down

0 comments on commit 79c152d

Please sign in to comment.