Browse Source

update the margin size of pdfng

Brian Gough 12 years ago
parent
commit
7b4ca6501b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee

+ 1 - 1
services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee

@@ -38,7 +38,7 @@ app.controller 'pdfViewerController', ['$scope', '$q', 'PDFRenderer', '$element'
 			scale = {} if not scale?
 			if scale.scaleMode == 'scale_mode_fit_width'
 				# TODO make this dynamic
-				numScale = (containerWidth - 15) / ($scope.pdfPageSize[1])
+				numScale = (containerWidth - 40) / ($scope.pdfPageSize[1])
 			else if scale.scaleMode == 'scale_mode_fit_height'
 				# TODO magic numbers for jquery ui layout
 				numScale = (containerHeight) / ($scope.pdfPageSize[0])