mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-07 20:02:42 +00:00
Use width of button instead of hardcoded
This commit is contained in:
parent
7e407621e9
commit
fcc2db9ea7
2 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,6 @@ div.full-size(
|
|||
)
|
||||
include ./pdf
|
||||
|
||||
|
||||
.popover.right.onboarding__autocompile(
|
||||
ng-controller="AutoCompileOnboardingController"
|
||||
ng-if="onboarding.autoCompile == 'show'"
|
||||
|
|
|
@ -6,7 +6,7 @@ define [
|
|||
{ top, left } = recompileBtn.offset()
|
||||
angular.element('.onboarding__autocompile').offset({
|
||||
top: top,
|
||||
left: left + 170
|
||||
left: left + recompileBtn.width() + 11 # Width of arrow
|
||||
})
|
||||
|
||||
$scope.dismiss = () ->
|
||||
|
|
Loading…
Add table
Reference in a new issue