Skip to content

Commit a0762c4

Browse files
authored
Merge pull request #56 from TanguyPa/margins-fix
Great -- thanks for your PR!
2 parents b202682 + 5260450 commit a0762c4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/Domain/Builders/Faceted/PagePropertyBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ public PagePropertyBuilder SetMargins(
158158
Dimension marginLeft)
159159
{
160160
this.SetMarginTop(marginTop);
161-
this.SetMarginRight(marginTop);
162-
this.SetMarginBottom(marginTop);
163-
this.SetMarginLeft(marginTop);
161+
this.SetMarginRight(marginRight);
162+
this.SetMarginBottom(marginBottom);
163+
this.SetMarginLeft(marginLeft);
164164

165165
return this;
166166
}
@@ -276,4 +276,4 @@ public PagePropertyBuilder UseChromeDefaults()
276276
}
277277

278278
#endregion
279-
}
279+
}

0 commit comments

Comments
 (0)