Skip to content

Commit 5260450

Browse files
authored
fix: correct SetMargins to use proper parameters for each side
1 parent 05c1fe7 commit 5260450

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
@@ -152,9 +152,9 @@ public PagePropertyBuilder SetMargins(
152152
Dimension marginLeft)
153153
{
154154
this.SetMarginTop(marginTop);
155-
this.SetMarginRight(marginTop);
156-
this.SetMarginBottom(marginTop);
157-
this.SetMarginLeft(marginTop);
155+
this.SetMarginRight(marginRight);
156+
this.SetMarginBottom(marginBottom);
157+
this.SetMarginLeft(marginLeft);
158158

159159
return this;
160160
}
@@ -270,4 +270,4 @@ public PagePropertyBuilder UseChromeDefaults()
270270
}
271271

272272
#endregion
273-
}
273+
}

0 commit comments

Comments
 (0)