Update deps & minor UI cleanup

This commit is contained in:
Sacha Weatherstone
2021-05-01 19:39:45 +10:00
parent a9d726cf5d
commit 2ea9e37569
12 changed files with 1178 additions and 118 deletions
+5 -6
View File
@@ -1,7 +1,6 @@
import React from 'react';
import { FaBars, FaPaperPlane } from 'react-icons/fa';
import { MenuIcon, PaperAirplaneIcon } from '@heroicons/react/outline';
import type {
IHTTPConnection,
Protobuf,
@@ -76,10 +75,10 @@ const Main = (props: MainProps) => {
props.IsReady ? 'cursor-text' : 'cursor-not-allowed'
}`}
/>
<span className="z-10 h-full text-gray-400 absolute w-8 right-0 py-4">
<FaPaperPlane
<span className="flex z-10 h-full text-gray-400 absolute w-8 right-0">
<PaperAirplaneIcon
onClick={sendMessage}
className={`text-xl hover:text-gray-500 ${
className={`text-xl hover:text-gray-500 h-6 w-6 my-auto ${
props.IsReady ? 'cursor-pointer' : 'cursor-not-allowed'
}`}
/>
@@ -91,7 +90,7 @@ const Main = (props: MainProps) => {
setMobileNavOpen(!mobileNavOpen);
}}
>
<FaBars className="m-auto" />
<MenuIcon className="m-auto h-6 2-6" />
</div>
</div>
</div>