From 6ca73a89b79b23007956703b4468dca69ca21f88 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Sat, 19 Sep 2020 17:46:55 +0100 Subject: [PATCH] Pretties, move the close to top. --- src/showplanner/PISModal.tsx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/showplanner/PISModal.tsx b/src/showplanner/PISModal.tsx index e93fe28..3207e4e 100644 --- a/src/showplanner/PISModal.tsx +++ b/src/showplanner/PISModal.tsx @@ -2,13 +2,15 @@ import React, { useEffect, useState } from "react"; import Modal from "react-modal"; import { getLatestNewsItem, NewsEntry } from "../api"; import { Button } from "reactstrap"; +import { FaTimes } from "react-icons/fa"; function DevWarning() { if (process.env.REACT_APP_PRODUCTION === "true") { return null; } return ( -
+ <> +

Development Version

You are using a development version of WebStudio. This version is NOT tested and may have severe bugs and performance problems. @@ -23,6 +25,8 @@ function DevWarning() { .
+
+ ); } @@ -58,6 +62,12 @@ export function PisModal({ return ( +
+ +
+

Presenter News

{(news === "loading" || news === "not_loaded") && ( @@ -75,9 +85,7 @@ export function PisModal({
)} - + ); }