소스 검색

fix home table

amenpunk 3 년 전
부모
커밋
26f0bb7564
5개의 변경된 파일18개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 0
      src/App.css
  2. 1 1
      src/Components/Home/Candidato.jsx
  3. 1 3
      src/Components/Home/Candidatos.js
  4. 1 1
      src/Components/Password/Steps/MailTable.jsx
  5. 9 2
      src/Css/all.css

+ 6 - 0
src/App.css

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

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

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

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

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

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

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

+ 9 - 2
src/Css/all.css

@@ -1775,9 +1775,15 @@ li.cabecera_li {
     color: #25344f;
 }
 .cabeceras {
+  font-weight:bold;
     background: #f1f1f1;
     padding: 10px;
 }
+.cabeceras_row{
+  display: flex;
+  align-items: baseline;
+  justify-content: space-around;
+}
 .col20 {
     width: 20%;
     float: left;
@@ -1807,8 +1813,9 @@ li.cabecera_li {
     color: #25344f;
 }
 .data_candidato {
-  padding:2px;
-  border-bottom: 1px solid #f1f1f1;
+  /* padding:2px; */
+  /* border-top: 1px solid #f1f1f1; */
+  border-bottom: 1px solid var(--bs-border-color);
 }
 .data_candidato a:hover {
     color: #fd4b4b;