@steedos-widgets/amis-object 1.2.19 → 1.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,3 @@
1
1
  import './AmisObjectForm.less';
2
+ import './AmisObjectFormMobile.less';
2
3
  export declare const AmisObjectForm: (props: any) => Promise<any>;
@@ -543,8 +543,9 @@ body {
543
543
  .w-8 {
544
544
  width: 2rem
545
545
  }
546
- .w-\[388px\] {
547
- width: 388px
546
+ .w-fit {
547
+ width: -moz-fit-content;
548
+ width: fit-content
548
549
  }
549
550
  .\!min-w-\[160px\] {
550
551
  min-width: 160px !important
@@ -558,6 +559,9 @@ body {
558
559
  .min-w-\[200px\] {
559
560
  min-width: 200px
560
561
  }
562
+ .min-w-\[388px\] {
563
+ min-width: 388px
564
+ }
561
565
  .max-w-\[360px\] {
562
566
  max-width: 360px
563
567
  }
@@ -633,6 +637,9 @@ body {
633
637
  .overflow-y-auto {
634
638
  overflow-y: auto
635
639
  }
640
+ .overflow-x-hidden {
641
+ overflow-x: hidden
642
+ }
636
643
  .truncate {
637
644
  overflow: hidden;
638
645
  text-overflow: ellipsis;
@@ -1206,6 +1213,10 @@ body {
1206
1213
  height: 50px;
1207
1214
  }
1208
1215
 
1216
+ .select_left .antd-Select-popover {
1217
+ width: auto !important;
1218
+ }
1219
+
1209
1220
  @media (min-width: 767px) {
1210
1221
  .steedos-amis-form .antd-Collapse .antd-Form--normal,
1211
1222
  .steedos-amis-form .antd-Form--normal .antd-Tabs .antd-Tabs-content .antd-Tabs-pane .form-content {
@@ -1251,6 +1262,41 @@ body {
1251
1262
  }
1252
1263
  }
1253
1264
 
1265
+ @media (max-width: 767px) {
1266
+ .steedos-amis-form.antd-Form {
1267
+ /* start ======== 移动端给部分input加边框,并使输入框上下居中*/
1268
+ /* =========end */
1269
+ }
1270
+ .steedos-amis-form.antd-Form .antd-Form-item .antd-Form-control > .antd-TextControl-input,
1271
+ .steedos-amis-form.antd-Form .antd-Form-item div.antd-TextareaControl {
1272
+ border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
1273
+ border-radius: var(--Form-input-borderRadius);
1274
+ }
1275
+ .steedos-amis-form.antd-Form .antd-Form-item .antd-Form-control > .antd-TextControl-input:hover,
1276
+ .steedos-amis-form.antd-Form .antd-Form-item div.antd-TextareaControl:hover {
1277
+ border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
1278
+ border-radius: var(--Form-input-borderRadius);
1279
+ }
1280
+ .steedos-amis-form.antd-Form .antd-Form-item .antd-TextControl.is-focused > .antd-TextControl-input,
1281
+ .steedos-amis-form.antd-Form .antd-Form-item div.is-focused.antd-TextareaControl {
1282
+ border-color: var(--input-default-active-top-border-color) var(--input-default-active-right-border-color) var(--input-default-active-bottom-border-color) var(--input-default-active-left-border-color);
1283
+ border-style: var(--input-default-active-top-border-style) var(--input-default-active-right-border-style) var(--input-default-active-bottom-border-style) var(--input-default-active-left-border-style);
1284
+ border-width: var(--input-default-active-top-border-width) var(--input-default-active-right-border-width) var(--input-default-active-bottom-border-width) var(--input-default-active-left-border-width);
1285
+ }
1286
+ .steedos-amis-form.antd-Form .antd-Form-item .antd-TextControl.is-focused > .antd-TextControl-input:hover,
1287
+ .steedos-amis-form.antd-Form .antd-Form-item div.is-focused.antd-TextareaControl:hover {
1288
+ border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
1289
+ border-radius: var(--Form-input-borderRadius);
1290
+ }
1291
+ .steedos-amis-form.antd-Form .antd-Form-item input {
1292
+ height: 100%;
1293
+ }
1294
+ .steedos-amis-form.antd-Form .antd-Form-item {
1295
+ margin-top: 0;
1296
+ align-items: center;
1297
+ }
1298
+ }
1299
+
1254
1300
  @media (min-width: 767px) {
1255
1301
  .steedos-object-table .antd-Field-quickEditBtn {
1256
1302
  display: none;
@@ -1303,13 +1349,25 @@ body {
1303
1349
  .h-fill {
1304
1350
  height: -webkit-fill-available !important;
1305
1351
  }
1352
+ .steedos-global-header-root .sidebar-wrapper .antd-Nav .antd-Nav-Menu-item-label {
1353
+ white-space: normal;
1354
+ line-height: 1.5;
1355
+ padding-top: 6px;
1356
+ padding-bottom: 6px;
1357
+ }
1358
+ .steedos-global-header-root .sidebar-wrapper .antd-Nav .antd-Nav-Menu-item-link {
1359
+ min-height: var(--Nav-Item-height);
1360
+ height: unset;
1361
+ }
1306
1362
 
1307
1363
  .steedos-global-footer {
1308
1364
  border-top: 1px solid rgb(203 213 225);
1309
1365
  }
1310
- .steedos-global-footer .antd-Nav-Menu-item,
1311
- .steedos-global-footer .antd-Nav-Menu-submenu-title {
1312
- padding-bottom: 5px !important;
1366
+ .steedos-global-footer.antd-Nav-Menu-horizontal > .antd-Nav-Menu-item-tooltip-wrap > .antd-Nav-Menu-item,
1367
+ .steedos-global-footer.antd-Nav-Menu-horizontal > .antd-Nav-Menu-overflow-item > .antd-Nav-Menu-submenu-title {
1368
+ padding-bottom: 5px;
1369
+ padding-left: 0;
1370
+ padding-right: 0;
1313
1371
  }
1314
1372
  .steedos-global-footer .antd-Nav-Menu-item,
1315
1373
  .steedos-global-footer .antd-Nav-Menu-submenu-title,