diff --git a/src/app/AuthenticatedApp.js b/src/app/AuthenticatedApp.js index 0f30e7d..54b24b8 100644 --- a/src/app/AuthenticatedApp.js +++ b/src/app/AuthenticatedApp.js @@ -65,7 +65,7 @@ function AuthenticatedApp() { } const container = { - height: '100vh', + height: 'auto', margin: 0, padding: 0, display: 'flex', diff --git a/src/screens/Profile/View.js b/src/screens/Profile/View.js index 4f55bba..01be7bb 100644 --- a/src/screens/Profile/View.js +++ b/src/screens/Profile/View.js @@ -29,27 +29,25 @@ function View({ data, onChangeInput }) { display: 'flex', alignItems: 'center', width: '100%', - // TODO: Check issue with screen heights too small height: '400px', - padding: '30px', }} > - + {fullName} - + Estudante de {COURSES.filter(c => c.value === data.course)[0].name} - + Turma de {data.year} - + RA: {data.ra} @@ -170,7 +168,7 @@ function View({ data, onChangeInput }) { variant="standard" type="text" value={data.ra} - placeholder="00#####" + placeholder="#######" disabled sx={{ width: '45%', cursor: 'no-drop' }} InputProps={{ diff --git a/src/screens/Profile/index.js b/src/screens/Profile/index.js index e6a7bb3..4ac61a1 100644 --- a/src/screens/Profile/index.js +++ b/src/screens/Profile/index.js @@ -1,8 +1,10 @@ import { useState } from 'react'; import { useUser } from '../../context/user'; +import { useDocumentTitle } from '../../hooks/useDocumentTitle'; import View from './View'; function Profile() { + useDocumentTitle('Meu perfil'); const { state } = useUser(); const [data, setData] = useState(state && state.user);