style(componentTest): 调整搜索输入框位置和样式

master
钟良源 2 weeks ago
parent 6a2ba0f800
commit 71d34f8d08

@ -79,23 +79,22 @@ const ComponentTest = () => {
); );
})} })}
</Group> </Group>
<Space split={<Divider type="vertical" />}>
<Input
prefix={<IconSearch />}
placeholder={'搜索实例标识或实例名'}
style={{ width: 236 }}
value={searchValue}
onChange={(value) => setSearchValue(value)}
allowClear
/>
</Space>
</div> </div>
<div className={styles['content']}> <div className={styles['content']}>
<div className={styles['left']}> <div className={styles['left']}>
<SideBar onNodeSelect={handleNodeSelect} getCount={(value) => setCount(value)} /> <SideBar onNodeSelect={handleNodeSelect} getCount={(value) => setCount(value)} />
</div> </div>
<div className={styles['right']}> <div className={styles['right']}>
<Space split={<Divider type="vertical" />} style={{ marginBottom: 16 }}>
<Input
prefix={<IconSearch />}
placeholder={'搜索实例标识或实例名'}
style={{ width: 236 }}
value={searchValue}
onChange={(value) => setSearchValue(value)}
allowClear
/>
</Space>
<InstanceList <InstanceList
identifier={selectedIdentifier} identifier={selectedIdentifier}
refreshKey={refreshKey} refreshKey={refreshKey}

Loading…
Cancel
Save