set fixed height for copy passphrase button

This commit is contained in:
woodser 2025-09-25 02:17:53 -04:00 committed by woodser
parent 4ca05692dd
commit 545cc7bffc
2 changed files with 9 additions and 1 deletions

View file

@ -2215,6 +2215,14 @@ textfield */
-fx-background-color: derive(-bs-buy, -10%);
}
#copy-button-thin {
-fx-background-color: -bs-buy;
-fx-text-fill: -bs-white;
-fx-min-height: 30px;
-fx-max-height: 30px;
-fx-pref-height: 30px;
}
#sell-button-big {
-fx-background-color: -bs-sell;
-fx-text-fill: -bs-white;

View file

@ -421,7 +421,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
UserThread.runAfter(() -> tp.hide(), 1);
tp.show(node, e.getScreenX() + Layout.PADDING, e.getScreenY() + Layout.PADDING);
});
copyButton.setId("buy-button");
copyButton.setId("copy-button-thin");
copyButton.setFocusTraversable(false);
vbox.getChildren().addAll(centerLabel, copyButton);