1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-11 07:55:10 +00:00
This commit is contained in:
Alasdair Smith 2017-09-28 12:16:02 +01:00
parent d9af9e723b
commit 199e85e4a9

View file

@ -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({