Commit 4933019f authored by Jen Zajac's avatar Jen Zajac Committed by Robert Lyon

Bug 1501059 Fix help pop outs in forms

The previous patch for this didn't work for larger screens.

behatnotneeded

Change-Id: I7d88abbb5ca49dfcbbb45b82b817da26450d645e
parent c90f6b10
......@@ -610,9 +610,6 @@ function contextualHelpPosition(ref, contextualHelpContainer) {
$j(contextualHelpContainer).css('visibility', 'hidden').removeClass('hidden');
var position = $j(ref).position();
var offset = $j(ref).offset();
if ($j(ref).parent().css('position') == 'absolute') {
position.left = offset.left;
}
var containerwidth = $j(contextualHelpContainer).outerWidth(true);
// Adjust the position. The element is moved towards the centre of the
......
......@@ -474,10 +474,12 @@
}
.help {
position: absolute;
right: 0;
top: 50%;
margin-top:-20px;
margin-top: 5px;
float:right; // can't use absolute because it messes up the pop out
}
.wysiwyg + .help {
transform: translate(0px, -180px);
}
.help-inline {
......
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