From c8f4568bd03eec29e7724504762de81d32292647 Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Wed, 22 Jun 2016 10:51:16 -0700 Subject: [PATCH] [Plot] Set min height Set the min height for the plot element based on user feedback for minimum plot size that they find useful. Plot ticks may overlap but that is expected to be fixed in a future release. Fixes https://github.com/nasa/openmct/issues/1048 --- platform/commonUI/general/res/sass/_constants.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/commonUI/general/res/sass/_constants.scss b/platform/commonUI/general/res/sass/_constants.scss index 2175f11ab1..bdd5120eab 100644 --- a/platform/commonUI/general/res/sass/_constants.scss +++ b/platform/commonUI/general/res/sass/_constants.scss @@ -97,9 +97,8 @@ $plotLegendH: 20px; $plotSwatchD: 8px; // 1: Top, 2: right, 3: bottom, 4: left $plotDisplayArea: ($plotLegendH + $interiorMargin, 0, $plotXBarH + $interiorMargin, $plotYBarW); -/* Based on current implementation of ~ 5 ticks per plot element; -Include legend, plot-display-area and X ticks */ -$plotMinH: $plotLegendH + ($interiorMargin * 2) + ($plotYLabelMinH * 5) + nth($plotDisplayArea,3); +/* min plot height is based on user testing to find minimum useful height */ +$plotMinH: 95px; /*************** Bubbles */ $bubbleArwSize: 10px; $bubblePad: $interiorMargin;