Fix changelog spacing

This commit is contained in:
crschnick 2024-01-02 14:50:50 +00:00
parent f398366246
commit 4542225c3f
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ public class UpdateAvailableAlert {
alert.setAlertType(Alert.AlertType.NONE); alert.setAlertType(Alert.AlertType.NONE);
var markdown = new MarkdownComp(u.getBody() != null ? u.getBody() : "", s -> { var markdown = new MarkdownComp(u.getBody() != null ? u.getBody() : "", s -> {
var header = "<h1>" + AppI18n.get("whatsNew", u.getVersion()) + "</h1>"; var header = "&nbsp;<h1>" + AppI18n.get("whatsNew", u.getVersion()) + "</h1>";
return header + s; return header + s;
}) })
.createRegion(); .createRegion();

View file

@ -36,7 +36,7 @@ public class UpdateChangelogAlert {
alert.initModality(Modality.NONE); alert.initModality(Modality.NONE);
var markdown = new MarkdownComp(update.getRawDescription(), s -> { var markdown = new MarkdownComp(update.getRawDescription(), s -> {
var header = "<h1>" + AppI18n.get("whatsNew", update.getName()) + "</h1>"; var header = "&nbsp;<h1>" + AppI18n.get("whatsNew", update.getName()) + "</h1>";
return header + s; return header + s;
}) })
.createRegion(); .createRegion();