@@ -97,7 +97,11 @@ export function RowButton({
|
||||
"py-2 bg-highlight hover:bg-highlight-hover active:bg-highlight-pressed cursor-pointer w-full flex gap-2 items-center justify-center text-sm text-txt-secondary",
|
||||
props.className,
|
||||
)}
|
||||
style={{ gridColumnEnd: -1, gridColumnStart: 1 }}
|
||||
style={{
|
||||
gridColumnEnd: -1,
|
||||
gridColumnStart: 1,
|
||||
...props.style,
|
||||
}}
|
||||
>
|
||||
<IconComponent size={16} />
|
||||
{children}
|
||||
|
||||
@@ -146,12 +146,13 @@ export function Select<T>({
|
||||
<Content
|
||||
position="popper"
|
||||
sideOffset={5}
|
||||
{...dropdownProps}
|
||||
style={{
|
||||
minWidth: "var(--radix-select-trigger-width)",
|
||||
maxHeight:
|
||||
"var(--radix-select-content-available-height)",
|
||||
"var(--radix-select-content-available-height)",
|
||||
...dropdownProps?.style,
|
||||
}}
|
||||
{...dropdownProps}
|
||||
className={content({ className: dropdownProps?.className })}
|
||||
>
|
||||
{onSearch && (
|
||||
|
||||
@@ -24,8 +24,10 @@ export function TextCell(props: Props) {
|
||||
if (props.required && inputValue === "") {
|
||||
return;
|
||||
}
|
||||
setValue(inputValue);
|
||||
onUpdate(props.name, inputValue);
|
||||
if (inputValue !== props.defaultValue) {
|
||||
setValue(inputValue);
|
||||
onUpdate(props.name, inputValue);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user