Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Add border to textarea in survey

Robin Dekkers7797440f364f
diff --git a/ui/component/or-survey/src/index.ts b/ui/component/or-survey/src/index.ts
index 8300432dc..f0c47c27a 100644
--- a/ui/component/or-survey/src/index.ts
+++ b/ui/component/or-survey/src/index.ts
@@ -16,7 +16,7 @@ export interface OrComputeGridEventDetail {
export class OrComputeGridEvent extends CustomEvent<OrComputeGridEventDetail> {
- public static readonly NAME = "or-compute-grid-event";
+ public static readonly NAME = "or-asset-viewer-compute-grid-event";
constructor() {
super(OrComputeGridEvent.NAME, {
@@ -239,6 +239,8 @@ class OrSurvey extends LitElement {
} else if (today.diff(endDate) > 0) {
// after end date
return 'after';
+ } else {
+ return 'not_published'
}
}
diff --git a/ui/component/or-survey/src/style.ts b/ui/component/or-survey/src/style.ts
index ae32d851a..6a6531734 100644
--- a/ui/component/or-survey/src/style.ts
+++ b/ui/component/or-survey/src/style.ts
@@ -419,7 +419,7 @@ export const surveyLayoutStyle =html`
textarea {
flex-grow: 1;
- border: 1px solid var(--app-grey-color);
+ border: 1px solid var(--or-app-color3);
height: 4em;
line-height: 16px;
}