mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-15 12:31:21 +00:00
Adjust position of selectors
This commit is contained in:
parent
e68317da3a
commit
5cf3e94b8e
21
src/App.tsx
21
src/App.tsx
@ -307,7 +307,7 @@ function App() {
|
|||||||
const [sendqortState, setSendqortState] = useState<any>(null);
|
const [sendqortState, setSendqortState] = useState<any>(null);
|
||||||
const [isLoading, setIsLoading] = useState<boolean>(false);
|
const [isLoading, setIsLoading] = useState<boolean>(false);
|
||||||
const [isLoadingSendCoin, setIsLoadingSendCoin] = useState<boolean>(false);
|
const [isLoadingSendCoin, setIsLoadingSendCoin] = useState<boolean>(false);
|
||||||
|
const isAuthenticated = extState === 'authenticated';
|
||||||
const { t } = useTranslation([
|
const { t } = useTranslation([
|
||||||
'auth',
|
'auth',
|
||||||
'core',
|
'core',
|
||||||
@ -3959,8 +3959,27 @@ function App() {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{!isAuthenticated && (
|
||||||
|
<Box
|
||||||
|
sx={{
|
||||||
|
alignItems: 'flex-start',
|
||||||
|
bottom: '1%',
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
left: '1%',
|
||||||
|
position: 'absolute',
|
||||||
|
width: 'auto',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Box sx={{ alignSelf: 'left' }}>
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
<Box sx={{ alignSelf: 'center' }}>
|
||||||
<ThemeSelector />
|
<ThemeSelector />
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
|
)}
|
||||||
</AppContainer>
|
</AppContainer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -170,9 +170,25 @@ export const AppsHomeDesktop = ({
|
|||||||
/>
|
/>
|
||||||
</AppsContainer>
|
</AppsContainer>
|
||||||
|
|
||||||
|
<Box
|
||||||
|
sx={{
|
||||||
|
alignItems: 'flex-start',
|
||||||
|
bottom: '1%',
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
left: '4px',
|
||||||
|
position: 'absolute',
|
||||||
|
width: 'auto',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Box sx={{ alignSelf: 'left' }}>
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
<Box sx={{ alignSelf: 'center' }}>
|
||||||
<ThemeSelector />
|
<ThemeSelector />
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -151,9 +151,24 @@ export const DesktopSideBar = ({
|
|||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
<Box
|
||||||
|
sx={{
|
||||||
|
alignItems: 'flex-start',
|
||||||
|
bottom: '1%',
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
position: 'absolute',
|
||||||
|
width: 'auto',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Box sx={{ alignSelf: 'left' }}>
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
<Box sx={{ alignSelf: 'center' }}>
|
||||||
<ThemeSelector />
|
<ThemeSelector />
|
||||||
</Box>
|
</Box>
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user