ant-design/components/drawer/demo/form-in-drawer.md

28 lines
426 B
Markdown
Raw Normal View History

2018-06-03 22:00:27 +08:00
## zh-CN
在抽屉中使用表单。
2018-06-03 22:00:27 +08:00
## en-US
2019-04-19 20:59:45 +08:00
Use a form in Drawer with a submit button.
2018-06-03 22:00:27 +08:00
2019-12-25 18:06:50 +08:00
```css
.site-form-in-drawer-wrapper {
position: absolute;
right: 0px;
bottom: 0px;
width: 100%;
padding: 10px 16px;
text-align: right;
background: #fff;
border-top: 1px solid #e9e9e9;
2019-12-25 18:06:50 +08:00
}
```
<style>
[data-theme="dark"] .site-form-in-drawer-wrapper {
border-top: 1px solid #303030;
background: #1f1f1f;
}
</style>