2018-06-03 22:00:27 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2018-12-10 18:59:37 +08:00
|
|
|
在抽屉中使用表单。
|
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;
|
2021-01-30 19:39:02 +08:00
|
|
|
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>
|