This commit is contained in:
Alasdair Smith
2017-09-28 12:16:02 +01:00
parent d9af9e723b
commit 199e85e4a9
@@ -6,6 +6,8 @@ define [
popover = angular.element('.onboarding__autocompile')
{ top, left } = recompileBtn.offset()
# If pdf panel smaller than recompile button + popover, show to left.
# Otherwise show to right
if $scope.ui.pdfWidth < 475
$scope.placement = 'left'
popover.offset({