Commit 510273aa authored by Sean Roberts's avatar Sean Roberts

Fix adder from affecting website's height on load

parent f588f1e7
...@@ -102,9 +102,12 @@ function Adder(container, options) { ...@@ -102,9 +102,12 @@ function Adder(container, options) {
// property rather than `display` so that we can compute its size in order to // property rather than `display` so that we can compute its size in order to
// position it before display. // position it before display.
display: 'block', display: 'block',
position: 'absolute',
visibility: 'hidden', visibility: 'hidden',
// take position out of flow and off screen initially
position: 'absolute',
top: 0,
// Assign a high Z-index so that the adder shows above any content on the // Assign a high Z-index so that the adder shows above any content on the
// page // page
zIndex: 999, zIndex: 999,
......
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