style: 图文集滚动

dev/emitter
Lei OT 10 months ago
parent 3d23a04de4
commit 2bed070ddd

@ -180,7 +180,7 @@ function SnippetList() {
</Form.Item> </Form.Item>
</Modal> </Modal>
<Space direction='vertical' size='large' className='w-full'> <Space direction='vertical' size='small' className='w-full h-full overflow-hidden'>
<Form <Form
layout={'inline'} layout={'inline'}
form={searchform} form={searchform}
@ -210,8 +210,8 @@ function SnippetList() {
</Button> </Button>
</Form.Item> </Form.Item>
</Form> </Form>
<Row gutter={16}> <Row gutter={6} className=' ' style={{height: 'calc(100vh - 196px)'}}>
<Col span={8}> <Col span={8} className='h-[inherit] overflow-x-hidden overflow-y-auto'>
<List <List
bordered bordered
dataSource={snippetList} dataSource={snippetList}
@ -231,7 +231,7 @@ function SnippetList() {
)} )}
/> />
</Col> </Col>
<Col span={16}> <Col span={16} className='h-[inherit] overflow-y-auto '>
<HtmlPreview <HtmlPreview
value={currentSnippet.content} value={currentSnippet.content}
loading={isHtmlLoading} loading={isHtmlLoading}
@ -240,6 +240,7 @@ function SnippetList() {
onDelete={() => handelSnippetDelete()} onDelete={() => handelSnippetDelete()}
/> />
</Col> </Col>
<div></div>
</Row> </Row>
</Space> </Space>
{contextHolder} {contextHolder}

Loading…
Cancel
Save