Bug 1623395 - Set the height of the response panel in the console r=Honza,nchevobbe
authorHubert Boma Manilla <hmanilla@mozilla.com>
Tue, 24 Mar 2020 11:45:49 +0000
changeset 520223 aea3c8ce3ff8182d15ac0948d0029ad98f6a63f8
parent 520222 87f1271cf700a606444f54f15902918479baaab6
child 520224 f0e8903666316ca39735aa89e731238ca7872399
push id37245
push useropoprus@mozilla.com
push dateTue, 24 Mar 2020 21:46:41 +0000
treeherdermozilla-central@dbabf2e388fa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza, nchevobbe
bugs1623395
milestone76.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1623395 - Set the height of the response panel in the console r=Honza,nchevobbe Differential Revision: https://phabricator.services.mozilla.com/D67492
devtools/client/themes/webconsole.css
--- a/devtools/client/themes/webconsole.css
+++ b/devtools/client/themes/webconsole.css
@@ -763,16 +763,26 @@ a.learn-more-link.webconsole-learn-more-
 :root:dir(rtl) .network.message.open .network-info {
   direction: rtl;
 }
 
 .network.message .network-info .panels {
   max-height: 250px;
   min-height: 100px;
 }
+/* Response panel needs an absolute height size as the 
+ * sizing of its content depends on it, it also needs override 
+ * the inline height set on the panels */
+.network.message .network-info #response-panel {
+  height: 250px !important;
+}
+
+.network.message .network-info .accordion-item:last-child .accordion-content {
+  position: static;
+}
 
 /* Hide 'Edit And Resend' button since the feature isn't
    supported in the Console panel. */
 .network.message #headers-panel .edit-and-resend-button {
   display: none;
 }
 
 .network .message-flex-body > .message-body {