diff --git a/src/main/java/com/sparrowwallet/sparrow/control/DialogImage.java b/src/main/java/com/sparrowwallet/sparrow/control/DialogImage.java index 3f837d05..9a5d43c3 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/DialogImage.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/DialogImage.java @@ -24,6 +24,7 @@ public class DialogImage extends StackPane { public ObjectProperty typeProperty = new SimpleObjectProperty<>(); public DialogImage() { + getStyleClass().add("dialog-image"); setPrefSize(WIDTH, HEIGHT); this.typeProperty.addListener((observable, oldValue, type) -> { refresh(type); diff --git a/src/main/resources/com/sparrowwallet/sparrow/notificationpopup.css b/src/main/resources/com/sparrowwallet/sparrow/notificationpopup.css index 9cfcc69c..e83876ca 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/notificationpopup.css +++ b/src/main/resources/com/sparrowwallet/sparrow/notificationpopup.css @@ -1,6 +1,7 @@ .notification-bar > .pane { -fx-padding: 0 7 7 7; + -fx-min-height: 80; } .notification-bar .close-button { @@ -11,7 +12,7 @@ -fx-font-size: 15px; -fx-text-fill: -fx-text-inner-color; -fx-padding: 5 0 0 68; - -fx-translate-y: 10; + -fx-translate-y: 5; } .notification-bar > .pane .label { @@ -22,6 +23,10 @@ -fx-graphic-text-gap: 8; } +.notification-bar > .pane .label .dialog-image { + -fx-translate-y: -10; +} + .notification-bar > .pane .label .text { - -fx-translate-y: 12; + -fx-translate-y: 6; } \ No newline at end of file