Skip to content

Commit

Permalink
Solving renaming errors and resizing number input at create group
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroIC committed Apr 29, 2024
1 parent fe0944b commit 56af77f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/group/GroupCreationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const CreationModal: FC<ActionProps> = ({nowHasGroup, setError, toggleCre
</Grid>
<Grid container padding={2} sx={{ display: 'flex', width: '400px', justifyContent: 'space-evenly', alignItems: 'center' }}>
<Grid item xs={6} ><p>{t('create_group_max_members')}</p></Grid>
<Grid item xs={1} ><input style={{ width: '25px' }} type="number" step={1} value={maxMembers} onChange={handleChange} max={200} min={2} /></Grid>
<Grid item xs={1} ><input style={{ width: '37px' }} type="number" step={1} value={maxMembers} onChange={handleChange} max={200} min={2} /></Grid>
</Grid>
<Grid container padding={2} sx={{ display: 'flex', width: '400px', justifyContent: 'space-evenly', alignItems: 'center' }}>
<Grid item xs={5} ><p>{t('create_group_description')}</p></Grid>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/init/Init.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from 'react';
import { useTranslation } from 'react-i18next';
import {Button, Stack} from "@mui/material";
import GLoginButton from '../g-login-button/GLoginButton';
import './Init.scss';
import './init.scss';

type ActionProps = {
changeView:(arg:boolean)=> void;
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/register/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, KeyboardEvent } from 'react';
import axios from 'axios';
import { Container, Typography, TextField, Snackbar, Stack, Button } from '@mui/material';
import { useTranslation } from 'react-i18next';
import './Register.scss';
import './register.scss';
import { useNavigate } from "react-router-dom";

//const apiEndpoint = 'http://conoceryvencer.xyz:8000'
Expand Down

0 comments on commit 56af77f

Please sign in to comment.