From 7629ac0f189b17f937faf3f1497cbe67adc66154 Mon Sep 17 00:00:00 2001 From: Michael Ratcliffe Date: Tue, 26 Nov 2019 16:07:09 +0000 Subject: [PATCH] Bug 1599405 - Fix scrolling at narrow widths in the Rules View r=pbro Differential Revision: https://phabricator.services.mozilla.com/D54720 --HG-- extra : moz-landing-system : lando --- devtools/client/themes/rules.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/devtools/client/themes/rules.css b/devtools/client/themes/rules.css index ff34318e9599..a01acb990383 100644 --- a/devtools/client/themes/rules.css +++ b/devtools/client/themes/rules.css @@ -44,6 +44,16 @@ line-height: var(--theme-toolbar-height); } +#ruleview-toolbar { + flex-wrap: wrap; + min-height: calc(var(--theme-toolbar-height) + 1px); + height: auto; +} + +#ruleview-toolbar .devtools-searchbox { + flex-basis: 7em; +} + #ruleview-command-toolbar { display: flex; }