Uniform left bar style and appearance

This commit is contained in:
Nicola Benaglia 2025-05-29 14:38:10 +02:00
parent a504d92911
commit fc0f9dda03
6 changed files with 15 additions and 7 deletions

View File

@ -1335,6 +1335,7 @@ function App() {
/> />
</Tooltip> </Tooltip>
)} )}
{authenticatedMode === 'ltc' && ( {authenticatedMode === 'ltc' && (
<Tooltip <Tooltip
title={ title={
@ -2041,6 +2042,7 @@ function App() {
useLocalNode={useLocalNode} useLocalNode={useLocalNode}
/> />
)} )}
{extState === 'authenticated' && isMainWindow && ( {extState === 'authenticated' && isMainWindow && (
<Box <Box
sx={{ sx={{
@ -2118,6 +2120,7 @@ function App() {
{isShowQortalRequest && !isMainWindow && ( {isShowQortalRequest && !isMainWindow && (
<> <>
<Spacer height="120px" /> <Spacer height="120px" />
<Box <Box
sx={{ sx={{
display: 'flex', display: 'flex',
@ -2213,6 +2216,7 @@ function App() {
dangerouslySetInnerHTML={{ __html: messageQortalRequest?.html }} dangerouslySetInnerHTML={{ __html: messageQortalRequest?.html }}
/> />
)} )}
<Spacer height="15px" /> <Spacer height="15px" />
<TextP <TextP
@ -2290,6 +2294,7 @@ function App() {
)} )}
<Spacer height="29px" /> <Spacer height="29px" />
<Box <Box
sx={{ sx={{
display: 'flex', display: 'flex',
@ -2307,6 +2312,7 @@ function App() {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</CustomButton> </CustomButton>
<CustomButton <CustomButton
sx={{ sx={{
minWidth: '102px', minWidth: '102px',
@ -2577,6 +2583,7 @@ function App() {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</CustomButton> </CustomButton>
<CustomButton <CustomButton
sx={{ sx={{
minWidth: '102px', minWidth: '102px',

View File

@ -231,11 +231,12 @@ export const AppsDevMode = ({
<Box <Box
sx={{ sx={{
alignItems: 'center', alignItems: 'center',
borderRight: `1px solid ${theme.palette.border.subtle}`,
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
gap: '25px', gap: '25px',
height: '100vh', height: '100vh',
width: '60px', width: 'auto', // must adapt to the choosen language
}} }}
> >
<ButtonBase <ButtonBase
@ -380,7 +381,7 @@ export const AppsDevMode = ({
flexDirection: 'column', flexDirection: 'column',
height: '100vh', height: '100vh',
overflow: 'auto', overflow: 'auto',
width: '100%', width: 'auto',
}} }}
> >
<Spacer height="30px" /> <Spacer height="30px" />
@ -419,7 +420,7 @@ export const AppsDevMode = ({
flexDirection: 'column', flexDirection: 'column',
height: '100vh', height: '100vh',
overflow: 'auto', overflow: 'auto',
width: '100%', width: 'auto',
}} }}
> >
<Spacer height="30px" /> <Spacer height="30px" />

View File

@ -319,6 +319,7 @@ export const AppsDevModeHome = ({
<AppCircle> <AppCircle>
<Add>+</Add> <Add>+</Add>
</AppCircle> </AppCircle>
<AppCircleLabel> <AppCircleLabel>
{t('core:server', { postProcess: 'capitalizeFirstChar' })} {t('core:server', { postProcess: 'capitalizeFirstChar' })}
</AppCircleLabel> </AppCircleLabel>

View File

@ -26,7 +26,6 @@ export const DesktopSideBar = ({
myName, myName,
}) => { }) => {
const [isEnabledDevMode, setIsEnabledDevMode] = useAtom(enabledDevModeAtom); const [isEnabledDevMode, setIsEnabledDevMode] = useAtom(enabledDevModeAtom);
const theme = useTheme(); const theme = useTheme();
const { t } = useTranslation([ const { t } = useTranslation([
'auth', 'auth',

View File

@ -1913,7 +1913,7 @@ export const Group = ({
setInfo={setInfoSnack} setInfo={setInfoSnack}
/> />
<div <div // TODO use Box
style={{ style={{
alignItems: 'flex-start', alignItems: 'flex-start',
display: 'flex', display: 'flex',

View File

@ -381,13 +381,13 @@ const ExportPrivateKey = ({ rawWallet }) => {
setPrivateKey(''); setPrivateKey('');
}} }}
> >
{t('group:action.cancel', { {t('core:action.cancel', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Button> </Button>
<Button variant="contained" onClick={exportPrivateKeyFunc}> <Button variant="contained" onClick={exportPrivateKeyFunc}>
{t('group:action.decrypt', { {t('core:action.decrypt', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Button> </Button>