ciyidogan commited on
Commit
38fc2bf
·
verified ·
1 Parent(s): 5d6f4a8

Update flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.scss

Browse files
flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.scss CHANGED
@@ -420,4 +420,63 @@ mat-dialog-actions {
420
  }
421
  }
422
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
423
  }
 
420
  }
421
  }
422
  }
423
+ }
424
+
425
+ .array-section {
426
+ .section-header {
427
+ display: flex;
428
+ justify-content: space-between;
429
+ align-items: center;
430
+ margin-bottom: 16px;
431
+
432
+ h3 {
433
+ margin: 0;
434
+ font-size: 16px;
435
+ }
436
+ }
437
+
438
+ .array-item {
439
+ display: flex;
440
+ gap: 12px;
441
+ align-items: flex-start;
442
+ margin-bottom: 16px;
443
+
444
+ .key-field {
445
+ flex: 1;
446
+ min-width: 150px;
447
+ }
448
+
449
+ .value-field {
450
+ flex: 2;
451
+ min-width: 200px;
452
+ }
453
+
454
+ // Delete button
455
+ > button[mat-icon-button] {
456
+ margin-top: 8px; // Mat-form-field ile hizalamak için
457
+ }
458
+ }
459
+
460
+ .empty-message {
461
+ text-align: center;
462
+ color: #666;
463
+ padding: 20px;
464
+ background-color: #f5f5f5;
465
+ border-radius: 4px;
466
+ margin: 16px 0;
467
+ }
468
+ }
469
+
470
+ @media (max-width: 768px) {
471
+ .array-section {
472
+ .array-item {
473
+ flex-wrap: wrap;
474
+
475
+ .key-field,
476
+ .value-field {
477
+ flex: 1 1 100%;
478
+ min-width: unset;
479
+ }
480
+ }
481
+ }
482
  }