浏览代码

fix home table

amenpunk 2 年之前
父节点
当前提交
26f0bb7564

+ 6 - 0
src/App.css

@@ -427,4 +427,10 @@ body > div.MuiDialog-root.MuiModal-root.css-zw3mfo-MuiModal-root-MuiDialog-root
427 427
 .headert_pwdu{
428 428
   background:var(--main);
429 429
   color:white !important;
430
+  font-weight:bold! important;
431
+}
432
+.bbottom{
433
+  margin:0 !important;
434
+  padding:0 !important;
435
+  border-top: 1px solid var(--bs-gray-200);
430 436
 }

+ 1 - 1
src/Components/Home/Candidato.jsx

@@ -114,7 +114,7 @@ function TableUser(props) {
114 114
   let { asignaciones, candi } = user
115 115
 
116 116
   return (
117
-    <TableRow >
117
+    <TableRow className="bbottom">
118 118
       <TableCell
119 119
         style={{ borderRight: '1px solid #f1f1f1 !important' }}
120 120
         className="home_letter pwd_user_name pwd_info">

+ 1 - 3
src/Components/Home/Candidatos.js

@@ -58,11 +58,9 @@ export default function Candidatos(props) {
58 58
         <p className="titlie_main">HISTORIAL DE ACCESO DE CANDIDATOS</p>
59 59
       </div>
60 60
       <div className="content_historial">
61
-        <p>Últimos candidatos que han ingresado al sistema:</p>
62 61
         <div className="cabeceras">
63
-          <Row>
62
+          <Row className="cabeceras_row">
64 63
             <div className="col20 "><p>Contraseña</p></div>
65
-            <div className="col20 "><p></p> </div>
66 64
             <div className="col20 "><p>Usuarios</p> </div>
67 65
             <div className="col20 "><p>Asignaciones</p> </div>
68 66
           </Row>

+ 1 - 1
src/Components/Password/Steps/MailTable.jsx

@@ -1,7 +1,7 @@
1 1
 import * as React from 'react';
2 2
 import {
3 3
   Table, TableBody, TableCell, TableContainer, TableHead,
4
-  TableRow, Paper, ButtonBase
4
+  TableRow, ButtonBase
5 5
 } from '@mui/material'
6 6
 
7 7
 import { DisabledByDefault } from '@mui/icons-material'

+ 9 - 2
src/Css/all.css

@@ -1775,9 +1775,15 @@ li.cabecera_li {
1775 1775
     color: #25344f;
1776 1776
 }
1777 1777
 .cabeceras {
1778
+  font-weight:bold;
1778 1779
     background: #f1f1f1;
1779 1780
     padding: 10px;
1780 1781
 }
1782
+.cabeceras_row{
1783
+  display: flex;
1784
+  align-items: baseline;
1785
+  justify-content: space-around;
1786
+}
1781 1787
 .col20 {
1782 1788
     width: 20%;
1783 1789
     float: left;
@@ -1807,8 +1813,9 @@ li.cabecera_li {
1807 1813
     color: #25344f;
1808 1814
 }
1809 1815
 .data_candidato {
1810
-  padding:2px;
1811
-  border-bottom: 1px solid #f1f1f1;
1816
+  /* padding:2px; */
1817
+  /* border-top: 1px solid #f1f1f1; */
1818
+  border-bottom: 1px solid var(--bs-border-color);
1812 1819
 }
1813 1820
 .data_candidato a:hover {
1814 1821
     color: #fd4b4b;