浏览代码

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,14 +416,6 @@
416 416
   color:white !important;
417 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 419
 .headert_pwdu{
428 420
   background:var(--main);
429 421
   color:white !important;
@@ -434,3 +426,9 @@ body > div.MuiDialog-root.MuiModal-root.css-zw3mfo-MuiModal-root-MuiDialog-root
434 426
   padding:0 !important;
435 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,7 +6,7 @@ import CardMedia from '@mui/material/CardMedia';
6 6
 import Button from '@mui/material/Button';
7 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 11
 export function PuestoCard(props) {
12 12
 
@@ -16,6 +16,7 @@ export function PuestoCard(props) {
16 16
     return (
17 17
         <Card sx={{ maxWidth: 345 }}>
18 18
             <CardMedia
19
+        className="cardmedia_puesto"
19 20
                 component="img"
20 21
                 alt="green iguana"
21 22
                 height="140"