Clean up colors and Selects
This commit is contained in:
1 parent
9b814aa1ca
commit
895abdbbaf
7 files changed
+5
-21
No files matched your search
@@ -57,10 +57,6 @@ export function FilterRecord({
|
||||
onChange?.(name, value);
|
||||
};
|
||||
|
||||
const renderValue = () => {
|
||||
return formatValue(selected, type);
|
||||
};
|
||||
|
||||
return (
|
||||
<Column>
|
||||
<Label>{fields.find(f => f.name === name)?.label}</Label>
|
||||
@@ -83,7 +79,6 @@ export function FilterRecord({
|
||||
value={selected}
|
||||
onChange={handleSelectValue}
|
||||
searchValue={search}
|
||||
renderValue={renderValue}
|
||||
onSearch={handleSearch}
|
||||
isLoading={isLoading}
|
||||
listProps={{ renderEmptyState: () => <Empty /> }}
|
||||
|
||||
@@ -62,7 +62,7 @@ export function NavMenu({
|
||||
{items?.map(({ label, items }, index) => {
|
||||
if (label) {
|
||||
return (
|
||||
<Column key={`${label}${index}`} gap="1" marginBottom="3" minHeight="40px">
|
||||
<Column key={`${label}${index}`} gap="2" marginBottom="3" minHeight="40px">
|
||||
<Row padding>
|
||||
<Text weight="bold">{label}</Text>
|
||||
</Row>
|
||||
|
||||
Reference in new issue
Block a user