Browse Source

btn home pwd

amenpunk 3 years ago
parent
commit
94ffc4a12b
2 changed files with 21 additions and 6 deletions
  1. 11 0
      src/App.css
  2. 10 6
      src/Components/Home/Candidato.jsx

+ 11 - 0
src/App.css

@@ -406,3 +406,14 @@
   flex-wrap: wrap;
   flex-direction: row;
 }
+.pwd_info{
+  padding:10px;
+  border-right:1px solid #f1f1f1;
+  display: grid;
+  justify-items: center;
+  align-items: center;
+}
+.btn_pwd{
+  color:white !important;
+  background:var(--main) !important;
+}

+ 10 - 6
src/Components/Home/Candidato.jsx

@@ -2,7 +2,7 @@ import React from 'react'
 import {
   Skeleton, Box, IconButton, TableCell, TableContainer,
   Table, TableRow, Paper, TableBody,
-  Tooltip,
+  Tooltip,Button
 } from '@mui/material';
 import {
   CheckBox as CheckBoxIcon,
@@ -87,10 +87,10 @@ function TableUser(props) {
     <TableRow >
       <TableCell
         style={{ borderRight: '1px solid #f1f1f1 !important' }}
-        className="home_letter pwd_user_name ">
+        className="home_letter pwd_user_name pwd_info">
         {candi.nombre + " " + candi.apellidos}
       </TableCell>
-      <TableCell className="table_list_test_user home_letter">
+      <TableCell className="table_list_test_user home_letter pwd_info">
         <table>
           <tbody >
             {
@@ -123,10 +123,14 @@ export function Candidato(props) {
   return (
     <div className="data_candidato">
       <Row>
-        <Col onClick={props.onClick}  md="3" sm="12" style={{ padding: 10, borderRight: '1px solid #f1f1f1' }}>
-          <p><b>{password?.toUpperCase()}</b></p>
+
+        <Col className="pwd_info"pwd_name_candi onClick={props.onClick}  md="3" sm="12">
+          <Button className="btn_pwd" variant="contained">
+            <u><p><b style={{color:'white'}}>{password?.toUpperCase()}</b></p></u>
+          </Button>
         </Col>
-        <Col md="9">
+
+        <Col className="pwd_info" md="9">
           <TableContainer style={{ boxShadow: "none" }} component={Paper}>
             <Table size="small" aria-label="a dense table">
               <TableBody>