Add missing units of measurement
authorMarcel Werk <burntime@woltlab.com>
Fri, 2 Aug 2024 11:36:52 +0000 (13:36 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 2 Aug 2024 11:36:52 +0000 (13:36 +0200)
Ref https://www.woltlab.com/community/thread/306674-add-units-of-measurement-on-the-edit-style-page/

wcfsetup/install/files/acp/templates/styleAdd.tpl

index 65e587c0b03154bebd61f2f55efcbd0d623907d0..6c381251b11dd9091f820815d08367edd2af0510 100644 (file)
                                <dl>
                                        <dt><label for="pageLogoWidth">{lang}wcf.acp.style.globals.pageLogo.width{/lang}</label></dt>
                                        <dd>
-                                               <input type="number" name="pageLogoWidth" id="pageLogoWidth" value="{$variables[pageLogoWidth]}" class="tiny">
+                                               <div class="inputAddon">
+                                                       <input type="number" name="pageLogoWidth" id="pageLogoWidth" value="{$variables[pageLogoWidth]}" class="tiny">
+                                                       <span class="inputSuffix">{lang}wcf.acp.option.suffix.pixel{/lang}</span>
+                                               </div>
                                        </dd>
                                </dl>
                                <dl>
                                        <dt><label for="pageLogoHeight">{lang}wcf.acp.style.globals.pageLogo.height{/lang}</label></dt>
                                        <dd>
-                                               <input type="number" name="pageLogoHeight" id="pageLogoHeight" value="{$variables[pageLogoHeight]}" class="tiny">
+                                               <div class="inputAddon">
+                                                       <input type="number" name="pageLogoHeight" id="pageLogoHeight" value="{$variables[pageLogoHeight]}" class="tiny">
+                                                       <span class="inputSuffix">{lang}wcf.acp.option.suffix.pixel{/lang}</span>
+                                               </div>
                                        </dd>
                                </dl>