mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-06 00:16:58 +00:00
Adapt width to language
This commit is contained in:
parent
808a9de1e4
commit
376c398932
@ -20,7 +20,7 @@ Translation in GUI:
|
|||||||
- For all translation in uppercase `{ postProcess: 'capitalizeAll' }`
|
- For all translation in uppercase `{ postProcess: 'capitalizeAll' }`
|
||||||
- See `.src/i18n/i18n.ts` for processor definition
|
- See `.src/i18n/i18n.ts` for processor definition
|
||||||
|
|
||||||
## Namespace
|
## Namespaces
|
||||||
|
|
||||||
These are the current namespaces, in which all translations are organized:
|
These are the current namespaces, in which all translations are organized:
|
||||||
|
|
||||||
|
@ -357,7 +357,7 @@ export const AppsDesktop = ({
|
|||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
gap: '25px',
|
gap: '25px',
|
||||||
height: '100vh',
|
height: '100vh',
|
||||||
width: '60px',
|
width: 'auto', // must adapt to the choosen language
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ButtonBase
|
<ButtonBase
|
||||||
|
@ -358,6 +358,7 @@ export const AppsDevModeHome = ({
|
|||||||
<AppCircle>
|
<AppCircle>
|
||||||
<Add>+</Add>
|
<Add>+</Add>
|
||||||
</AppCircle>
|
</AppCircle>
|
||||||
|
|
||||||
<AppCircleLabel>
|
<AppCircleLabel>
|
||||||
{t('core:directory', { postProcess: 'capitalizeFirstChar' })}
|
{t('core:directory', { postProcess: 'capitalizeFirstChar' })}
|
||||||
</AppCircleLabel>
|
</AppCircleLabel>
|
||||||
@ -499,6 +500,7 @@ export const AppsDevModeHome = ({
|
|||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<Input
|
<Input
|
||||||
placeholder={t('core:domain', {
|
placeholder={t('core:domain', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
@ -521,6 +523,7 @@ export const AppsDevModeHome = ({
|
|||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<Input
|
<Input
|
||||||
placeholder={t('core:port', {
|
placeholder={t('core:port', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
|
@ -96,10 +96,11 @@ export const AppsHomeDesktop = ({
|
|||||||
autoCorrect="off"
|
autoCorrect="off"
|
||||||
placeholder="qortal://"
|
placeholder="qortal://"
|
||||||
sx={{
|
sx={{
|
||||||
width: '100%',
|
|
||||||
backgroundColor: theme.palette.background.surface,
|
backgroundColor: theme.palette.background.surface,
|
||||||
borderRadius: '7px',
|
borderRadius: '7px',
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary,
|
||||||
|
height: '35px',
|
||||||
|
width: '100%',
|
||||||
'& .MuiInput-input::placeholder': {
|
'& .MuiInput-input::placeholder': {
|
||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontSize: '20px',
|
fontSize: '20px',
|
||||||
@ -170,6 +171,7 @@ export const AppsHomeDesktop = ({
|
|||||||
</AppsContainer>
|
</AppsContainer>
|
||||||
|
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
|
|
||||||
<ThemeSelector />
|
<ThemeSelector />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user