Skip to content

Commit

Permalink
fix mobile proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomcow500 committed Sep 5, 2022
1 parent d9e8cf2 commit defb0f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/elements/mobileProxy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { browserIsFirefox } from '@utils/detectors';
import { useCookies } from 'react-cookie';
import { useState } from 'react';

export function MProxy(size = 1.5) {
export function MProxy() {

interface IconProps extends nextUI.GridContainerProps {
hasThemeSwitch?: boolean;
size?: number;
/*size?: number;*/
}

const [modalVisible, setModalVisible] = useState(false);
Expand Down Expand Up @@ -74,10 +74,10 @@ export function MProxy(size = 1.5) {

return (
<nextUI.Card css={{ width: '1.5rem', height: '1.5rem', verticalAlign: 'top', order: '2' }} isHoverable>
<Fiproxy size={`${size}rem`} onClick={openHandler} />
<Fiproxy size={'24px'} onClick={openHandler} />
<nextUI.Modal aria-labelledby='modal-title' onClose={closeHandler} open={modalVisible} width={'55em'} closeButton>
<nextUI.Modal.Header>
<nextUI.Text id='modal-title' size={18} >
<nextUI.Text id='modal-title' >
Change External Server Options
</nextUI.Text>
</nextUI.Modal.Header>
Expand Down

0 comments on commit defb0f5

Please sign in to comment.