From edb931e7e5db450dc60836cb4a59a4f7f6a469e3 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 22 Jul 2022 10:26:13 -0400 Subject: [PATCH] UX: let hamburger-sidebar restrict child width (#17614) --- app/assets/stylesheets/common/base/menu-panel.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common/base/menu-panel.scss b/app/assets/stylesheets/common/base/menu-panel.scss index 12e10be6c6f..24d3a13e789 100644 --- a/app/assets/stylesheets/common/base/menu-panel.scss +++ b/app/assets/stylesheets/common/base/menu-panel.scss @@ -572,12 +572,10 @@ div.menu-links-header { // Sidebar-hamburger hybrid .hamburger-menu.revamped { - .panel-body { - width: 100%; + width: var(--d-sidebar-width); - .panel-body-content { - width: 100%; - } + .panel-body-content { + min-width: 0; // prevent content blowing out width } .sidebar-section-wrapper {