Bug 1401128 - Part 1: Change the size of time-body. r?pbro draft
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Wed, 20 Sep 2017 17:39:31 +0900
changeset 667632 f9be708a4b9f0df744f71eea7b247a133c088d45
parent 667303 a0eb21bf55e1c1ae0ba311e6f2273da05c712799
child 667633 6e9e44dedb881c4fe0379e1247b97bf86a303e91
push id80790
push userbmo:dakatsuka@mozilla.com
push dateWed, 20 Sep 2017 13:16:46 +0000
reviewerspbro
bugs1401128
milestone57.0a1
Bug 1401128 - Part 1: Change the size of time-body. r?pbro MozReview-Commit-ID: 8kERYFst4Ir
devtools/client/themes/animationinspector.css
--- a/devtools/client/themes/animationinspector.css
+++ b/devtools/client/themes/animationinspector.css
@@ -258,16 +258,21 @@ body {
   right: var(--keyframes-marker-size);
   height: var(--timeline-animation-height);
 }
 
 .animation-detail .track-container {
   height: var(--detail-animation-height);
 }
 
+.time-body.track-container {
+  height: 0;
+  pointer-events: none;
+}
+
 .animation-timeline .scrubber-wrapper {
   position: absolute;
   z-index: 5;
   left: var(--timeline-sidebar-width);
   /* Leave the width of a marker right of a track so the 100% markers can be
      selected easily */
   right: var(--keyframes-marker-size);
   pointer-events: none;
@@ -338,17 +343,16 @@ body {
   top: var(--toolbar-height);
   z-index: 3;
 }
 
 .progress-tick-container .progress-tick,
 .animation-timeline .time-body .time-tick {
   -moz-user-select: none;
   position: absolute;
-  height: 100%;
 }
 
 .progress-tick-container .progress-tick::before,
 .animation-timeline .time-body .time-tick::before {
   content: "";
   position: fixed;
   height: 100vh;
   width: 0;