pull/224/head
Cory LaViska 2020-09-16 17:12:52 -04:00
rodzic 1546b53d40
commit e6ed45b1af
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -100,7 +100,7 @@ To make the drawer slide in from the bottom, set the `placement` attribute to `b
### Contained to an Element
By default, the drawer slides out of its [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#Identifying_the_containing_block), which is usually the viewport. To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
By default, the drawer slides out of its [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#Identifying_the_containing_block), which is usually the viewport. To make the drawer slide out of its parent element, add the `contained` prop and `position: relative` to the parent.
```html preview
<div