Skip to content

Commit

Permalink
ajuste de responsividde
Browse files Browse the repository at this point in the history
  • Loading branch information
yaskisoba committed Nov 23, 2023
1 parent 5a9db14 commit 14bfaed
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion backend/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"development": {
"username": "root",
"password": "password",
"database": "matriculai_development",
"database": "matriculai",
"host": "localhost",
"dialect": "mysql"
},
Expand Down
24 changes: 16 additions & 8 deletions frontend/src/pages/ExclusionEletivas/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import React, { useState, useEffect } from 'react';
import axios from 'axios';
import Header from '../Home/index';
import Header from "../../components/Header/index.js";
import Footer from "../../components/Footer/index.js";
import { ChakraProvider } from '@chakra-ui/react'

import {
Center,
Link,
Box,
Flex,
Heading,
Expand All @@ -16,7 +19,8 @@ import {
Td,
Checkbox,
TableContainer,
Button
Button,
Container
} from "@chakra-ui/react"
;

Expand Down Expand Up @@ -73,9 +77,10 @@ const ExclusionEletivas = () => {

return (
<ChakraProvider>
<Header></Header>
<Flex align="center" justifyContent="center">
<Box width="100vh" marginTop="3vh" marginBottom="-9vh" paddingLeft="2vh" paddingRight="2vh" paddingTop="2vh" borderWidth={1} borderRadius={8} boxShadow="lg">
<Flex direction="column" minH="100vh">
<Header />
<Container flex="1">
<Box width="100%" marginTop="10vh" marginBottom="10vh" paddingLeft="2vh" paddingRight="2vh" paddingTop="2vh" borderWidth={1} borderRadius={8} boxShadow="lg">
<Box textAlign="center">
<Heading color= '#243A69'>Exclusão de Eletivas</Heading>
</Box>
Expand All @@ -102,10 +107,13 @@ const ExclusionEletivas = () => {
<Box display="flex" justifyContent="center">
<Button color="#243A69" variant='solid' margin="2vh" onClick={handleExcluirClick}>Excluir eletivas selecionadas</Button>
</Box>
</Box>
</Flex>
</Box>

</Container>
<Footer />
</Flex>
</ChakraProvider>

);
};

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Home = () => {
return (
<Flex direction="column" minH="100vh">
<Header />
<Container ali>
<Container flex="1">

<Center>
<Link to='/criar-trilhas'>Cria trilha</Link>
Expand Down

0 comments on commit 14bfaed

Please sign in to comment.