瀏覽代碼

bugfix: Fixing CSS class name convention

jamesread 4 年之前
父節點
當前提交
8e59ac9fb4
共有 2 個文件被更改,包括 2 次插入 和 2 次删除
  1. 1 1
      webui/js/ArgumentForm.js
  2. 1 1
      webui/style.css

+ 1 - 1
webui/js/ArgumentForm.js

@@ -133,7 +133,7 @@ class ArgumentForm extends window.HTMLElement {
 
   createDomDescription (arg) {
     const domArgumentDescription = document.createElement('span')
-    domArgumentDescription.classList.add('inputDescription')
+    domArgumentDescription.classList.add('argument-description')
     domArgumentDescription.innerText = arg.description
 
     return domArgumentDescription

+ 1 - 1
webui/style.css

@@ -282,7 +282,7 @@ input[name="start"]:hover {
   background-color: #aceaac;
 }
 
-span.inputDescription {
+span.argument-description {
   margin-left: 1em;
 }