From 42fe49450bcfb69aaa82d222d553fcddf571d4bb Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Thu, 20 Jun 2024 12:48:50 +0200 Subject: [PATCH] Add `item__` prefix to the css-classname --- .../Core/Form/Builder/Field/Controller/FileProcessor.ts | 2 +- .../Core/Form/Builder/Field/Controller/FileProcessor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.ts b/ts/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.ts index 25a96be9b2..6c8dbf4dfa 100644 --- a/ts/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.ts +++ b/ts/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.ts @@ -52,7 +52,7 @@ export class FileProcessor { protected addButtons(element: WoltlabCoreFileElement): void { const buttons = document.createElement("ul"); buttons.classList.add("buttonList"); - buttons.classList.add(this.classPrefix + "buttons"); + buttons.classList.add(this.classPrefix + "item__buttons"); this.addDeleteButton(element, buttons); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.js index 072caadb94..dc01262bb4 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.js @@ -43,7 +43,7 @@ define(["require", "exports", "tslib", "WoltLabSuite/Core/Language", "WoltLabSui addButtons(element) { const buttons = document.createElement("ul"); buttons.classList.add("buttonList"); - buttons.classList.add(this.classPrefix + "buttons"); + buttons.classList.add(this.classPrefix + "item__buttons"); this.addDeleteButton(element, buttons); if (this.#singleFileUpload) { this.addReplaceButton(element, buttons); -- 2.20.1