change btn size

This commit is contained in:
PhilReact 2024-10-25 09:59:16 +03:00
parent d929c47103
commit bd9f0bb9f4

View File

@ -360,7 +360,7 @@ export const NotAuthenticated = ({
</Box> </Box>
{currentNode?.url === "http://127.0.0.1:12391" && ( {currentNode?.url === "http://127.0.0.1:12391" && (
<> <>
<Button variant="contained" component="label"> <Button size="small" variant="contained" component="label">
{apiKey ? "Change " : "Import "} apiKey.txt {apiKey ? "Change " : "Import "} apiKey.txt
<input <input
type="file" type="file"
@ -373,13 +373,14 @@ export const NotAuthenticated = ({
fontSize: '12px', fontSize: '12px',
visibility: importedApiKey ? 'visible' : 'hidden' visibility: importedApiKey ? 'visible' : 'hidden'
}}>{`api key : ${importedApiKey}`}</Typography> }}>{`api key : ${importedApiKey}`}</Typography>
<Spacer height="5px" />
</> </>
)} )}
<Button <Button
size="small"
onClick={() => { onClick={() => {
setShow(true); setShow(true);
}} }}