Skip to content
Snippets Groups Projects
Commit b07d3c2d authored by Jack Reed's avatar Jack Reed Committed by GitHub
Browse files

Merge pull request #1301 from ProjectMirador/1209-anno-style-controls-fix

Use css left to position the color pickers.
parents 2489a4df bcf02fd4
Branches
No related tags found
No related merge requests found
......@@ -200,10 +200,7 @@
pickerOffset=pickerContainer.offset(),
windowWidth = this.state.windowsElements[this.windowId].width();
if (pickerContainer.width() + pickerOffset.left > windowWidth) {
pickerContainer.offset({
top: pickerOffset.top,
left: windowWidth - (pickerContainer.width())
});
pickerContainer.css('left', windowWidth - (pickerContainer.outerWidth()));
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment