mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 11:31:55 +02:00
Use width of button instead of hardcoded
This commit is contained in:
@@ -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 = () ->
|
||||
|
||||
Reference in New Issue
Block a user