Style fixes

This commit is contained in:
crschnick 2024-06-21 01:43:06 +00:00
parent 5e90f169b1
commit 2d67443f22
4 changed files with 4 additions and 7 deletions

View file

@ -78,7 +78,7 @@ public abstract class DialogComp extends Comp<CompStructure<Region>> {
@Override
public CompStructure<Region> createBase() {
var sp = pane(content()).createRegion();
var sp = pane(content()).styleClass("dialog-content").createRegion();
VBox vbox = new VBox();
vbox.getChildren().addAll(sp, createNavigation());
vbox.getStyleClass().add("dialog-comp");
@ -96,7 +96,7 @@ public abstract class DialogComp extends Comp<CompStructure<Region>> {
public abstract Comp<?> content();
protected Comp<?> pane(Comp<?> content) {
var entry = content.styleClass("dialog-content");
var entry = content;
return Comp.of(() -> {
var entryR = entry.createRegion();
var sp = new ScrollPane(entryR);

View file

@ -24,6 +24,3 @@
-fx-font-weight: BOLD;
}
.bookmark-list .store-section-mini-comp .item {
-fx-padding: 0.1em 0.4em 0.1em 0.4em;
}

View file

@ -1,4 +1,4 @@
.dialog-comp .scroll-pane {
.dialog-comp .dialog-content {
-fx-background-color: -color-bg-default;
}

View file

@ -66,7 +66,7 @@
}
.store-section-mini-comp > .children-content {
-fx-padding: 5px 0 5px 15px;
-fx-padding: 0 0 5px 15px;
}
.store-section-mini-comp:root > .children-content {