Fix the appearance of the search reset button
authorAlexander Ebert <ebert@woltlab.com>
Tue, 19 Sep 2023 12:22:39 +0000 (14:22 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 19 Sep 2023 12:22:39 +0000 (14:22 +0200)
See https://www.woltlab.com/community/thread/301671-bildauswahl-boxen/

com.woltlab.wcf/templates/mediaManager.tpl
ts/WoltLabSuite/Core/Media/Manager/Select.ts
wcfsetup/install/files/acp/templates/mediaManager.tpl

index 2a25f8abb66c748b5ed7f72c5c2aabb3352eafab..4b5328e0a9edc5de4d3644843e7bdb55da7876b1 100644 (file)
@@ -28,7 +28,7 @@
 <div class="inputAddon mediaManagerSearch">
        <input type="text" class="mediaManagerSearchField" placeholder="{lang}wcf.media.search.placeholder{/lang}">
        <span class="inputSuffix">
-               <button type="button" class="mediaManagerSearchCancelButton jsTooltip" title="{lang}wcf.media.search.cancel{/lang}">
+               <button type="button" class="button mediaManagerSearchCancelButton jsTooltip" title="{lang}wcf.media.search.cancel{/lang}">
                        {icon name='xmark'}
                </button>
        </span>
index 440518dfd15461d4b55812f5b9231a5543f7b241..163479c9da25b3feaec6e3623d69a6dcc36c0715 100644 (file)
@@ -14,7 +14,6 @@ import * as DomTraverse from "../../Dom/Traverse";
 import * as FileUtil from "../../FileUtil";
 import * as Language from "../../Language";
 import * as UiDialog from "../../Ui/Dialog";
-import DomUtil from "../../Dom/Util";
 
 class MediaManagerSelect extends MediaManager<MediaManagerSelectOptions> {
   protected _activeButton: HTMLElement | null = null;
index 2a25f8abb66c748b5ed7f72c5c2aabb3352eafab..4b5328e0a9edc5de4d3644843e7bdb55da7876b1 100644 (file)
@@ -28,7 +28,7 @@
 <div class="inputAddon mediaManagerSearch">
        <input type="text" class="mediaManagerSearchField" placeholder="{lang}wcf.media.search.placeholder{/lang}">
        <span class="inputSuffix">
-               <button type="button" class="mediaManagerSearchCancelButton jsTooltip" title="{lang}wcf.media.search.cancel{/lang}">
+               <button type="button" class="button mediaManagerSearchCancelButton jsTooltip" title="{lang}wcf.media.search.cancel{/lang}">
                        {icon name='xmark'}
                </button>
        </span>