Remove empty space

This commit is contained in:
Nicola Benaglia 2025-06-06 18:26:29 +02:00
parent 5fe21829aa
commit 916646d4ef
11 changed files with 18 additions and 22 deletions

View File

@ -2571,7 +2571,7 @@ function App() {
lineHeight: '15px', lineHeight: '15px',
}} }}
> >
The Application <br></br>{' '} The Application <br></br>
<TextItalic>{requestConnection?.hostname}</TextItalic> <br></br> <TextItalic>{requestConnection?.hostname}</TextItalic> <br></br>
<TextSpan>is requestion a connection</TextSpan> <TextSpan>is requestion a connection</TextSpan>
</TextP> </TextP>
@ -2580,8 +2580,8 @@ function App() {
<Box <Box
sx={{ sx={{
display: 'flex',
alignItems: 'center', alignItems: 'center',
display: 'flex',
gap: '14px', gap: '14px',
}} }}
> >
@ -2644,7 +2644,7 @@ function App() {
lineHeight: '15px', lineHeight: '15px',
}} }}
> >
The Application <br></br>{' '} The Application <br></br>
<TextItalic>{requestConnection?.hostname}</TextItalic> <br></br> <TextItalic>{requestConnection?.hostname}</TextItalic> <br></br>
<TextSpan>requests authentication</TextSpan> <TextSpan>requests authentication</TextSpan>
</TextP> </TextP>

View File

@ -140,7 +140,7 @@ export const BoundedNumericTextField = ({
sx={{ sx={{
color: theme.palette.text.primary, color: theme.palette.text.primary,
}} }}
/>{' '} />
</IconButton> </IconButton>
<IconButton <IconButton
size="small" size="small"
@ -150,7 +150,7 @@ export const BoundedNumericTextField = ({
sx={{ sx={{
color: theme.palette.text.primary, color: theme.palette.text.primary,
}} }}
/>{' '} />
</IconButton> </IconButton>
</InputAdornment> </InputAdornment>
) : ( ) : (

View File

@ -468,7 +468,7 @@ export const MessageItem = memo(
}} }}
> >
{reaction} {reaction}
</div>{' '} </div>
{numberOfReactions > 1 && ( {numberOfReactions > 1 && (
<Typography <Typography
sx={{ sx={{

View File

@ -243,7 +243,6 @@ export const AttachmentCard = ({
width: '100%', width: '100%',
}} }}
> >
{' '}
<Typography <Typography
sx={{ sx={{
fontSize: '14px', fontSize: '14px',
@ -251,7 +250,7 @@ export const AttachmentCard = ({
}} }}
> >
{errorMsg} {errorMsg}
</Typography>{' '} </Typography>
</Box> </Box>
)} )}
</Box> </Box>

View File

@ -177,7 +177,6 @@ export const ImageCard = ({
justifyContent: 'center', justifyContent: 'center',
}} }}
> >
{' '}
<Typography <Typography
sx={{ sx={{
fontSize: '14px', fontSize: '14px',

View File

@ -325,10 +325,8 @@ export const PollCard = ({
fontStyle: 'italic', fontStyle: 'italic',
}} }}
> >
{' '} {poll?.votes?.totalVotes}{' '}
{`${poll?.votes?.totalVotes} ${ {poll?.votes?.totalVotes === 1 ? ' vote' : ' votes'}
poll?.votes?.totalVotes === 1 ? ' vote' : ' votes'
}`}
</Typography> </Typography>
</Box> </Box>

View File

@ -157,7 +157,7 @@ export const GeneralNotifications = ({ address }) => {
sx={{ sx={{
color: theme.palette.text.primary, color: theme.palette.text.primary,
}} }}
/>{' '} />
{formatDate(latestTx?.timestamp)} {formatDate(latestTx?.timestamp)}
</Box> </Box>

View File

@ -412,7 +412,7 @@ export const BlockedUsersModal = () => {
sx={{ sx={{
color: theme.palette.text.primary, color: theme.palette.text.primary,
}} }}
/>{' '} />
<Typography> <Typography>
{t('auth:message.generic.choose_block', { {t('auth:message.generic.choose_block', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',

View File

@ -2124,7 +2124,6 @@ export const Group = ({
width: '100%', width: '100%',
}} }}
> >
{' '}
<Typography> <Typography>
{t('group:message.generic.encryption_key', { {t('group:message.generic.encryption_key', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',

View File

@ -209,7 +209,7 @@ export const HomeDesktop = ({
sx={{ sx={{
ccolor: theme.palette.text.primary, ccolor: theme.palette.text.primary,
}} }}
/>{' '} />
<Typography <Typography
sx={{ sx={{
fontSize: '1rem', fontSize: '1rem',
@ -218,7 +218,7 @@ export const HomeDesktop = ({
{t('tutorial:initial.explore', { {t('tutorial:initial.explore', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Typography>{' '} </Typography>
</Box> </Box>
</Divider> </Divider>

View File

@ -307,8 +307,10 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
{t('core:message.generic.settings', { {t('core:message.generic.settings', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Typography>{' '} </Typography>
<Spacer height="40px" /> <Spacer height="40px" />
<Button <Button
size="small" size="small"
onClick={() => { onClick={() => {
@ -353,10 +355,10 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
{!myName ? ( {!myName ? (
<Box <Box
sx={{ sx={{
width: '100%', alignItems: 'center',
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', width: '100%',
}} }}
> >
<Typography <Typography
@ -458,7 +460,6 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
fontSize: '14px', fontSize: '14px',
}} }}
> >
{' '}
{t('core:message.question.reset_pinned', { {t('core:message.question.reset_pinned', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}