Blame view

美国版/Food Labeling Management Platform/src/styles/form-dialog.css 853 Bytes
923d50c0   杨鑫   更新bug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  /* 固定尺寸弹框外壳(覆盖 DialogContent 默认 grid + 随内容增高) */
  [data-slot="dialog-content"].form-dialog-shell {
    display: grid !important;
    height: 70vh !important;
    max-height: 70vh !important;
    min-height: 0 !important;
    width: min(50%, calc(100vw - 2rem)) !important;
    max-width: min(50%, calc(100vw - 2rem)) !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  [data-slot="dialog-content"].form-dialog-shell > .form-dialog-scroll-body {
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  
  /* 滚动区内图片预览不撑宽 */
  .form-dialog-scroll-body img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
  }
  
  .form-dialog-scroll-body .group.relative {
    max-width: 100%;
  }