From f88c58571422a496b423b03ef756be3f3db03259 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 22 Mar 2019 00:03:09 -0400 Subject: [PATCH] dropdown styling in sleeve UI --- src/PersonObjects/Sleeve/SleeveUI.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PersonObjects/Sleeve/SleeveUI.ts b/src/PersonObjects/Sleeve/SleeveUI.ts index cf8ef9cf4..e7daf6d55 100644 --- a/src/PersonObjects/Sleeve/SleeveUI.ts +++ b/src/PersonObjects/Sleeve/SleeveUI.ts @@ -288,7 +288,7 @@ function createSleeveUi(sleeve: Sleeve, allSleeves: Sleeve[]): ISleeveUIElems { } elems.taskPanel = createElement("div", { class: "sleeve-panel", width: "40%" }); - elems.taskSelector = createElement("select") as HTMLSelectElement; + elems.taskSelector = createElement("select", { class: "dropdown" }) as HTMLSelectElement; elems.taskSelector.add(createOptionElement("------")); elems.taskSelector.add(createOptionElement("Work for Company")); elems.taskSelector.add(createOptionElement("Work for Faction")); @@ -297,8 +297,8 @@ function createSleeveUi(sleeve: Sleeve, allSleeves: Sleeve[]): ISleeveUIElems { elems.taskSelector.add(createOptionElement("Workout at Gym")); elems.taskSelector.add(createOptionElement("Shock Recovery")); elems.taskSelector.add(createOptionElement("Synchronize")); - elems.taskDetailsSelector = createElement("select") as HTMLSelectElement; - elems.taskDetailsSelector2 = createElement("select") as HTMLSelectElement; + elems.taskDetailsSelector = createElement("select", { class: "dropdown" }) as HTMLSelectElement; + elems.taskDetailsSelector2 = createElement("select", { class: "dropdown" }) as HTMLSelectElement; elems.taskDescription = createElement("p"); elems.taskProgressBar = createElement("p"); elems.taskSelector.addEventListener("change", () => {