From 9cf4c14c1491d04619893bf3202a2198ff1628b7 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Mon, 6 Apr 2020 15:51:05 +1000 Subject: [PATCH] Changed nickname change modal styling and added link in add party modal --- src/components/AddPartyMemberButton.js | 6 +++++- src/components/Nickname.js | 14 +++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/components/AddPartyMemberButton.js b/src/components/AddPartyMemberButton.js index 6f1c69a..abe8900 100644 --- a/src/components/AddPartyMemberButton.js +++ b/src/components/AddPartyMemberButton.js @@ -30,10 +30,14 @@ function AddPartyMemberButton({ gameId }) { - + {gameId} + + + {window.location.href} + diff --git a/src/components/Nickname.js b/src/components/Nickname.js index 723fc36..8e4d3b8 100644 --- a/src/components/Nickname.js +++ b/src/components/Nickname.js @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { Text, Box, Input, Button, Label, IconButton } from "theme-ui"; +import { Text, Box, Input, Button, Label, IconButton, Flex } from "theme-ui"; import Modal from "./Modal"; @@ -70,15 +70,19 @@ function Nickname({ nickname, allowChanging, onChange }) { - + - + + +