Ensure drawer content is hidden.

This commit is contained in:
Dermot Duffy
2022-03-26 08:27:30 -07:00
parent b49081c5c8
commit a8770ec61a
3 changed files with 11 additions and 7 deletions
+3 -3
View File
@@ -20,19 +20,19 @@
}
#d {
// Adding for control, may not need this?
// Need to allow drawer controls to be visible.
overflow: visible;
visibility: visible;
}
:host([location='right']) #d {
:host([location=right]) #d {
// Position to the right.
left: unset;
right: 0;
transform: translateX(100%);
}
:host([location='right'][open]) #d {
:host([location=right][open]) #d {
transform: none;
box-shadow: 0px 0px 25px 0px black;
}