Commit 510df459 authored by Randall Leeds's avatar Randall Leeds

make heatmap insensitive to dom position

parent 2c830049
......@@ -32,9 +32,9 @@ class Hypothesis extends Annotator
# Set up interface elements
this._setupHeatmap()._setupSidebar()
@heatmap.element.appendTo(@sidebar)
@viewer.element.appendTo(@sidebar)
@editor.element.appendTo(@sidebar)
@heatmap.element.appendTo(@sidebar)
@sidebar.appendTo(@wrapper)
@plugins.Auth.withToken (token) =>
......
......@@ -118,6 +118,8 @@ $iconset: iconset_wireframe;
@include tinyshadow(-1px, 0, 0.2);
background: hsla(0, 0, 90%, 0.4);
position: fixed;
top: 0;
margin-left: -$heatmap-width;
width: $heatmap-width;
z-index: 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment