浏览代码

mok fix fux

amenpunk 2 年之前
父节点
当前提交
d83bf46204
共有 2 个文件被更改,包括 8 次插入9 次删除
  1. 6 8
      src/App.css
  2. 2 1
      src/Components/Puestos/Card.jsx

+ 6 - 8
src/App.css

416
   color:white !important;
416
   color:white !important;
417
   background:var(--main) !important;
417
   background:var(--main) !important;
418
 }
418
 }
419
-
420
-body > div.MuiDialog-root.MuiModal-root.css-zw3mfo-MuiModal-root-MuiDialog-root > div.MuiDialog-container.MuiDialog-scrollPaper.css-hz1bth-MuiDialog-container > div > div > div > div:nth-child(2) > form > div > div:nth-child(2){
421
-  margin-top:0;
422
-}
423
-
424
-body > div.MuiDialog-root.MuiModal-root.css-zw3mfo-MuiModal-root-MuiDialog-root > div.MuiDialog-container.MuiDialog-scrollPaper.css-hz1bth-MuiDialog-container > div > div > div > div:nth-child(2) > form > div > div.MuiTableContainer-root.css-rorn0c-MuiTableContainer-root{
425
-  margin-top :0;
426
-}
427
 .headert_pwdu{
419
 .headert_pwdu{
428
   background:var(--main);
420
   background:var(--main);
429
   color:white !important;
421
   color:white !important;
434
   padding:0 !important;
426
   padding:0 !important;
435
   border-top: 1px solid var(--bs-gray-200);
427
   border-top: 1px solid var(--bs-gray-200);
436
 }
428
 }
429
+.cardmedia_puesto{
430
+  background-color: var(--second);
431
+  object-fit: none;
432
+  object-position: left top;
433
+  border: 2px solid black;
434
+}

+ 2 - 1
src/Components/Puestos/Card.jsx

6
 import Button from '@mui/material/Button';
6
 import Button from '@mui/material/Button';
7
 import Typography from '@mui/material/Typography';
7
 import Typography from '@mui/material/Typography';
8
 
8
 
9
-import QA from '../../Images/puesto.jpg'
9
+import QA from '../../Images/register_mok.png'
10
 
10
 
11
 export function PuestoCard(props) {
11
 export function PuestoCard(props) {
12
 
12
 
16
     return (
16
     return (
17
         <Card sx={{ maxWidth: 345 }}>
17
         <Card sx={{ maxWidth: 345 }}>
18
             <CardMedia
18
             <CardMedia
19
+        className="cardmedia_puesto"
19
                 component="img"
20
                 component="img"
20
                 alt="green iguana"
21
                 alt="green iguana"
21
                 height="140"
22
                 height="140"