From 30e0f2fa5aefc81648de326c1d445d1600a4a5f8 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Tue, 10 May 2022 22:25:57 -0700 Subject: [PATCH] Don't let drawer extend beyond 90% of the parent. --- src/scss/drawer-inject.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scss/drawer-inject.scss b/src/scss/drawer-inject.scss index 4f82950d..17eaeeef 100644 --- a/src/scss/drawer-inject.scss +++ b/src/scss/drawer-inject.scss @@ -22,6 +22,9 @@ #d { // Need to allow drawer controls to be 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 {