Skip to content

Commit

Permalink
💄 Changed Registered Users CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
coral2742 committed Apr 15, 2024
1 parent 3f2719f commit 805ac50
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
10 changes: 0 additions & 10 deletions webapp/src/components/HistoricalData.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,5 @@ table {



.custom-td{
background-color: #1f3c86c3;
color: white;
font-weight: 600;
}

.custom-td th{
background-color: #1f3c86c3;
color: white;
font-weight: 600;
}

9 changes: 6 additions & 3 deletions webapp/src/components/RegisteredUsers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from 'axios';
import React, { useState, useEffect } from 'react';
import { Container} from '@mui/material';
import { Container, Typography} from '@mui/material';
import Navbar from './Navbar';

const RegisteredUsers = () => {
Expand Down Expand Up @@ -30,11 +30,14 @@ const RegisteredUsers = () => {
<Container component="main" maxWidth="xs" sx={{ marginTop: 4 }} className='contenedor' >

<div>
<Typography component="h2" style={{ marginTop: '1rem', marginBottom: '1rem' }} className='fs-2 main-title animate__animated animate__backInLeft' variant="h2" sx={{ textAlign: 'center' }}>
Usuarios registrados
</Typography>
<table>
<thead>
<tr>
<th title='pregunta'>Nombre de usuario</th>
<th title='correcta'>Fecha de registro</th>
<th className='text-center custom-td'>Nombre de usuario</th>
<th className='text-center custom-td'>Fecha de registro</th>
</tr>
</thead>
<tbody>
Expand Down
13 changes: 13 additions & 0 deletions webapp/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,17 @@ div[title="main"]>h1{

.containerTable {
overflow-y: auto;
}


.custom-td{
background-color: #1f3c86c3;
color: white;
font-weight: 600;
}

.custom-td th{
background-color: #1f3c86c3;
color: white;
font-weight: 600;
}

0 comments on commit 805ac50

Please sign in to comment.