Converted pop-up boxes to use css flex

This commit is contained in:
Daniel Xie
2018-08-12 14:45:35 -05:00
parent bb4094f879
commit d556af0fd8
9 changed files with 62 additions and 17 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import { getElementById } from "./getElementById";
export function createPopup(id: string, elems: HTMLElement[]) {
const container: HTMLDivElement = createElement("div", {
class: "popup-box-container",
display: "block",
display: "flex",
id,
}) as HTMLDivElement;
const content: HTMLElement = createElement("div", {