Added DialogButton to handle mobile.
This commit is contained in:
1 parent
036748cdeb
commit
40492ec7c4
32 files changed
+2146
-1807
No files matched your search
@@ -64,7 +64,7 @@ export function DataGrid({
|
||||
return (
|
||||
<Column gap="4" minHeight="300px">
|
||||
{allowSearch && (
|
||||
<Row alignItems="center" justifyContent="space-between">
|
||||
<Row alignItems="center" justifyContent="space-between" wrap="wrap" gap>
|
||||
<SearchField
|
||||
value={search}
|
||||
onSearch={handleSearch}
|
||||
|
||||
@@ -104,8 +104,8 @@ export function FilterRecord({
|
||||
</Select>
|
||||
)}
|
||||
</Grid>
|
||||
<Column justifyContent="flex-end">
|
||||
<Button variant="quiet" onPress={() => onRemove?.(name)}>
|
||||
<Column justifyContent="flex-start">
|
||||
<Button onPress={() => onRemove?.(name)}>
|
||||
<Icon>
|
||||
<X />
|
||||
</Icon>
|
||||
|
||||
@@ -9,7 +9,7 @@ export function MobileMenu(props: DialogProps) {
|
||||
<Menu />
|
||||
</Icon>
|
||||
</Button>
|
||||
<Modal position="left" offset="80px">
|
||||
<Modal placement="left" offset="80px">
|
||||
<Dialog variant="sheet" {...props} />
|
||||
</Modal>
|
||||
</DialogTrigger>
|
||||
|
||||
Reference in new issue
Block a user