Skip to content

Commit

Permalink
fix: promotion description overlapped container
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Feb 11, 2025
1 parent d2406d5 commit 132f572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/ftb/mods/promoter/screen/AdScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private static class PromoDataHolder {
public PromoDataHolder(PromoData data) {
this.data = data;
this.logo = new RemoteTexture(URI.create(data.logo()), data.uuid().toString() + data.logoVersion(), Minecraft.getInstance().getTextureManager());
this.description = MultiLineLabel.create(Minecraft.getInstance().font, Component.literal(data.description()), 150);
this.description = MultiLineLabel.create(Minecraft.getInstance().font, Component.literal(data.description()), 140);
}

public PromoData getData() {
Expand Down

0 comments on commit 132f572

Please sign in to comment.