Client:Pages:FormGallery: remove truncate from sort button, add auto width
This commit is contained in:
parent
e989edbf23
commit
826a4fae00
@ -98,6 +98,7 @@ const SortFilter = ({ t, oformsFilter, sortOforms }) => {
|
||||
fillIcon={false}
|
||||
options={[]}
|
||||
selectedOption={{}}
|
||||
manualWidth={"auto"}
|
||||
advancedOptions={
|
||||
<>
|
||||
{sortData?.map((item) => (
|
||||
@ -109,9 +110,7 @@ const SortFilter = ({ t, oformsFilter, sortOforms }) => {
|
||||
isSelected={oformsFilter.sortBy === item.key}
|
||||
isDescending={oformsFilter.sortOrder === "desc"}
|
||||
>
|
||||
<Text fontWeight={600} truncate>
|
||||
{item.label}
|
||||
</Text>
|
||||
<Text fontWeight={600}>{item.label}</Text>
|
||||
<SortDesc className="sortorder-arrow" />
|
||||
</Styled.SortDropdownItem>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user