aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/HistogramBox.scss
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-27 16:12:36 -0400
committerbob <bcz@cs.brown.edu>2019-03-27 16:12:36 -0400
commitab78b1514ac16154d443d1d4a117a5fcaf891794 (patch)
treee1cebdf27124295c5b4ad726a37af500be25e01c /src/client/views/nodes/HistogramBox.scss
parente3ec05fbe6f3057fa33cb4d66025ff4c94f23f83 (diff)
converted histograms to % coords to avoid re-rendering.
Diffstat (limited to 'src/client/views/nodes/HistogramBox.scss')
-rw-r--r--src/client/views/nodes/HistogramBox.scss22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/client/views/nodes/HistogramBox.scss b/src/client/views/nodes/HistogramBox.scss
index 00ad099ac..7c28fc99e 100644
--- a/src/client/views/nodes/HistogramBox.scss
+++ b/src/client/views/nodes/HistogramBox.scss
@@ -5,14 +5,28 @@
width: 100%;
height: 100%;
}
- .histogrambox-gridlabel {
- position:absolute;
- transform-origin: left top;
- }
.histogrambox-xaxislabel {
position:absolute;
width:100%;
text-align: center;
bottom:0;
+ font-size: 12;
+ }
+
+ .histogrambox-container {
+ position:absolute;
+ width:100%;
+ height: 100%;
+ }
+ .histogramLabelPrimitives-gridlabel {
+ position:absolute;
+ transform-origin: left top;
+ font-size: 12;
+ }
+ .histogramLabelPrimitives-placer {
+ position:absolute;
+ width:100%;
+ height:100%;
+ pointer-events: none;
}
\ No newline at end of file