From 3fff62864223c6c2b22b9f6e1722c15033ba3a8b Mon Sep 17 00:00:00 2001 From: Ryan <7389646+ryanbarlow97@users.noreply.github.com> Date: Wed, 14 Jan 2026 00:51:50 +0000 Subject: [PATCH] Skins padding fix (#2893) ## Description: Fixes some visual issues in the skins modal **tailwind only changes + small movement of logic check** (padding issue) image (huge gap at bottom because it was trying to put a button there but then stopping due to requirespurchase=false) image Now: image image ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: w.o.n --- src/client/TerritoryPatternsModal.ts | 4 ++-- src/client/components/PatternButton.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/client/TerritoryPatternsModal.ts b/src/client/TerritoryPatternsModal.ts index 03086d46b..86701db41 100644 --- a/src/client/TerritoryPatternsModal.ts +++ b/src/client/TerritoryPatternsModal.ts @@ -174,8 +174,8 @@ export class TerritoryPatternsModal extends BaseModal { } return html` -
-
+
+
${hasLinkedAccount(this.userMeResponse) ? this.renderMySkinsButton() : html``} diff --git a/src/client/components/PatternButton.ts b/src/client/components/PatternButton.ts index 58ba1a863..037dc4743 100644 --- a/src/client/components/PatternButton.ts +++ b/src/client/components/PatternButton.ts @@ -137,9 +137,9 @@ export class PatternButton extends LitElement {
-
- ${this.requiresPurchase && this.pattern?.product - ? html` + ${this.requiresPurchase && this.pattern?.product + ? html` +
- ` - : html`
`} -
+
+ ` + : null}
`; }