Ver Fonte

style(web): 放大我的待办横幅主体

sy há 2 dias atrás
pai
commit
bc07273317
1 ficheiros alterados com 7 adições e 5 exclusões
  1. 7 5
      web-scaffold/src/styles/work-order-mine.css

+ 7 - 5
web-scaffold/src/styles/work-order-mine.css

@@ -21,11 +21,10 @@
   position: absolute;
   z-index: 0;
   inset: 0 0 0 auto;
-  width: auto;
-  max-width: 100%;
+  width: min(760px, 94%);
   height: 100%;
-  object-fit: contain;
-  object-position: right center;
+  object-fit: cover;
+  object-position: right 58%;
   mask-image: linear-gradient(to right, transparent, #000 30%);
   pointer-events: none;
 }
@@ -123,8 +122,11 @@
   .work-order-mine-hero-image {
     position: static;
     order: 1;
-    width: 100%;
+    align-self: flex-end;
+    width: 135%;
+    max-width: none;
     height: auto;
+    aspect-ratio: 4 / 1;
     mask-image: linear-gradient(to bottom, transparent, #000 22%);
   }
 }