Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
Fixed Kohana path errors and margin params.
Browse files Browse the repository at this point in the history
  • Loading branch information
eleggua999 committed Nov 10, 2017
1 parent 9ce3e52 commit 4e0600a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ About: [https://wkhtmltopdf.org/](https://wkhtmltopdf.org/)
## Install

```bash
$ composer require "eleggua999/wkhtmltopdf:1.0"
$ composer require "eleggua999/wkhtmltopdf:1.1"
```
2 changes: 2 additions & 0 deletions src/Kohana/Vendor_PdfRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*/
class Vendor_PdfRenderer extends PdfRenderer
{
const PATH = \Vendor_Wkhtmltopdf::PATH;

/**
* {@inheritdoc}
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Wkhtmltopdf/CmdBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ class CmdBuilder
/**
* @var int
*/
public $marginLeft = 10;
public $marginLeft = 0;

/**
* @var int
*/
public $marginRight = 10;
public $marginRight = 0;

/**
* @var string
Expand Down

0 comments on commit 4e0600a

Please sign in to comment.