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