Add `item__` prefix to the css-classname
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 20 Jun 2024 10:48:50 +0000 (12:48 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 20 Jun 2024 10:48:50 +0000 (12:48 +0200)
ts/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.js

index 25a96be9b27ef0298c58eb60cc90f11209cbe6f5..6c8dbf4dfa4b85ddc9a677e8e212c24638b99fa4 100644 (file)
@@ -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);
 
index 072caadb947989ab0eede92cc4d743382999a69f..dc01262bb48865f253405bd93faa57beb81dd0a1 100644 (file)
@@ -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);