---
order: 99
version: 4.24.0
title:
zh-CN: 紧凑布局嵌套
en-US: Nested Space Compact
debug: true
---
## zh-CN
嵌套使用的紧凑布局
## en-US
Nested `Space.Compact`
```tsx
import { CopyOutlined, SearchOutlined } from '@ant-design/icons';
import { Button, Cascader, Input, InputNumber, Space, Select, TimePicker } from 'antd';
import React from 'react';
const { Option } = Select;
const App: React.FC = () => (
<>
} />
} />
<>
>
>
);
export default App;
```
```css
[data-theme='compact'] .select-before {
width: 71px;
}
[data-theme='compact'] .select-after {
width: 65px;
}
```