mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-11 07:55:10 +00:00
Comment
This commit is contained in:
parent
d9af9e723b
commit
199e85e4a9
1 changed files with 2 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue