fix(ui): Cluster table size on mobile
This commit is contained in:
1 parent
71067d49cd
commit
ab56fec2e6
1 file changed
+1
-1
@@ -171,7 +171,7 @@ const ClusterPage: React.FC = () => {
|
||||
}} icon={<HeartOutlined />}>{t('cluster.healthAll') || 'Check all'}</Button>
|
||||
<Button type="primary" icon={<PlusOutlined />} onClick={() => { setEditing(null); form.resetFields(); form.setFieldsValue({ enabled: true }); setOpen(true); }}>{t('cluster.create')}</Button>
|
||||
</Space>}>
|
||||
<Table rowKey="id" loading={loading} dataSource={data} columns={columns} scroll={{ x: 720 }} />
|
||||
<Table rowKey="id" loading={loading} dataSource={data} columns={columns} scroll={{ x: 720 }} size={isMobile ? "small" : "middle"} />
|
||||
</Card>
|
||||
<Modal open={open} title={editing ? t('cluster.edit') : t('cluster.create')} onCancel={() => setOpen(false)} onOk={() => form.submit()} destroyOnClose>
|
||||
<Form form={form} layout="vertical" onFinish={onSubmit}>
|
||||
|
||||
Reference in new issue
Block a user