Skip to content

Commit c8d10f4

Browse files
author
Dylan McCall
committed
Place popups on the top where possible
Most of our earlier code was positioning popups above their links, rather than below. We should stick to that, while using auto-positioning so they are positioned on the bottom when necessary.
1 parent bb8844d commit c8d10f4

File tree

1 file changed

+1
-1
lines changed
  • python_env/src/cc.engine/cc/engine/templates/macros_templates

1 file changed

+1
-1
lines changed

python_env/src/cc.engine/cc/engine/templates/macros_templates/deed.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ <h2>
255255
var popupTitleHtml = $('.hd', popupElem).html();
256256
var popupBodyHtml = $('.bd', popupElem).html();
257257
$(helpLinkElem).popover({
258-
placement: 'auto bottom',
258+
placement: 'auto top',
259259
trigger: 'focus',
260260
title: popupTitleHtml ? popupTitleHtml : undefined,
261261
content: popupBodyHtml ? popupBodyHtml : undefined,

0 commit comments

Comments
 (0)