Skip to content

Commit

Permalink
Adjust paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Dec 18, 2024
1 parent 3f9aac3 commit dcdeb09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public TakeOfferAmountView(TakeOfferAmountModel model,
amountLimitInfoHBox = new HBox(5, warningIcon, amountLimitInfo, amountLimitInfoAmount, learnMore);
amountLimitInfoHBox.setAlignment(Pos.BASELINE_CENTER);

VBox.setMargin(headlineLabel, new Insets(-10, 0, 0, 0));
VBox.setMargin(headlineLabel, new Insets(-10, 0, 40, 0));
VBox.setMargin(amountLimitInfoHBox, new Insets(15, 0, 15, 0));
content.getChildren().addAll(Spacer.fillVBox(), headlineLabel, amountComponentRoot, amountLimitInfoHBox, Spacer.fillVBox());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public TradeWizardAmountAndPriceView(TradeWizardAmountAndPriceModel model,
HBox amountAndPriceHBox = new HBox(20, amountSelection, amountAtPriceSymbol, priceSelection);
amountAndPriceHBox.getStyleClass().add("amount-and-price-box");

content = new VBox(10, headline, amountAndPriceHBox, infoAndWarningsSection);
content = new VBox(20, headline, amountAndPriceHBox, infoAndWarningsSection);
content.getStyleClass().add("content-box");

StackPane layeredContent = new StackPane(content, amountOverlay);
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/desktop/src/main/resources/css/bisq_easy.css
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@
}

.amount-and-price-step .content-box {
-fx-padding: 20 0 0 0;
-fx-padding: 40 0 0 0;
-fx-alignment: top-center;
}

Expand Down

0 comments on commit dcdeb09

Please sign in to comment.