Merge pull request #578 from dermotduffy/drawer-too-wide
Prevent drawer from being wider than the card
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
#d {
|
#d {
|
||||||
// Need to allow drawer controls to be visible.
|
// Need to allow drawer controls to be visible.
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
|
||||||
|
// Don't let the drawer exceed 90% of the full width of the relative parent.
|
||||||
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([location=right]) #d {
|
:host([location=right]) #d {
|
||||||
|
|||||||
Reference in New Issue
Block a user