aboutsummaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-09-19 15:40:42 +0700
committerShulhan <ms@kilabit.info>2021-09-19 15:40:42 +0700
commit665bda4fe5ccf0e12b74262309da39695dd69317 (patch)
tree4bee3eaeb691be49eb3a5cfe193c57b1ca32a202 /input
parent19994275a9f238dbbb2d73702bba355faaa12a0d (diff)
downloadpakakeh.ts-665bda4fe5ccf0e12b74262309da39695dd69317.tar.xz
input: remove background color on hint element
It is up to the user on how to set the background color of any elements, not the library.
Diffstat (limited to 'input')
-rw-r--r--input/checkboxes.ts1
-rw-r--r--input/number.ts1
-rw-r--r--input/select.ts1
-rw-r--r--input/string.ts1
4 files changed, 0 insertions, 4 deletions
diff --git a/input/checkboxes.ts b/input/checkboxes.ts
index 0edd832..50d95be 100644
--- a/input/checkboxes.ts
+++ b/input/checkboxes.ts
@@ -147,7 +147,6 @@ export class WuiInputCheckboxes {
} else {
this.el_hint.style.display = "none"
}
- this.el_hint.style.backgroundColor = "gainsboro"
this.el_hint.style.borderRadius = "2px"
this.el_hint.style.padding = "4px"
this.el_hint.style.marginTop = "2px"
diff --git a/input/number.ts b/input/number.ts
index f00e99c..9ea8bb6 100644
--- a/input/number.ts
+++ b/input/number.ts
@@ -162,7 +162,6 @@ export class WuiInputNumber {
} else {
this.el_hint.style.display = "none"
}
- this.el_hint.style.backgroundColor = "gainsboro"
this.el_hint.style.borderRadius = "2px"
this.el_hint.style.padding = "4px"
this.el_hint.style.marginTop = "2px"
diff --git a/input/select.ts b/input/select.ts
index 67b0349..acfca1e 100644
--- a/input/select.ts
+++ b/input/select.ts
@@ -164,7 +164,6 @@ export class WuiInputSelect {
} else {
this.el_hint.style.display = "none"
}
- this.el_hint.style.backgroundColor = "gainsboro"
this.el_hint.style.borderRadius = "2px"
this.el_hint.style.padding = "4px"
this.el_hint.style.marginTop = "2px"
diff --git a/input/string.ts b/input/string.ts
index 961220b..b6baff3 100644
--- a/input/string.ts
+++ b/input/string.ts
@@ -149,7 +149,6 @@ export class WuiInputString {
} else {
this.el_hint.style.display = "none"
}
- this.el_hint.style.backgroundColor = "gainsboro"
this.el_hint.style.borderRadius = "2px"
this.el_hint.style.padding = "4px"
this.el_hint.style.marginTop = "2px"