@truenas/ui-components 0.1.48 → 0.1.49
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.
- package/package.json +1 -1
- package/src/styles/themes.css +20 -9
package/package.json
CHANGED
package/src/styles/themes.css
CHANGED
|
@@ -483,11 +483,31 @@ textarea.tn-input-directive {
|
|
|
483
483
|
border-radius: 8px;
|
|
484
484
|
background: var(--tn-bg1, #ffffff);
|
|
485
485
|
color: var(--tn-fg1, #000000);
|
|
486
|
+
overflow: hidden; /* enforce max-height boundary */
|
|
486
487
|
box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2),
|
|
487
488
|
0 24px 38px 3px rgba(0, 0, 0, 0.14),
|
|
488
489
|
0 9px 46px 8px rgba(0, 0, 0, 0.12);
|
|
489
490
|
}
|
|
490
491
|
|
|
492
|
+
/*
|
|
493
|
+
* Propagate the flex / height constraint from .tn-dialog-panel through
|
|
494
|
+
* the two CDK-generated wrapper elements so tn-dialog-shell can size
|
|
495
|
+
* itself correctly and .tn-dialog__content can scroll.
|
|
496
|
+
*/
|
|
497
|
+
.tn-dialog-panel > .cdk-dialog-container {
|
|
498
|
+
display: flex;
|
|
499
|
+
flex-direction: column;
|
|
500
|
+
flex: 1 1 auto;
|
|
501
|
+
min-height: 0;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.tn-dialog-panel > .cdk-dialog-container > :first-child {
|
|
505
|
+
display: flex;
|
|
506
|
+
flex-direction: column;
|
|
507
|
+
flex: 1 1 auto;
|
|
508
|
+
min-height: 0;
|
|
509
|
+
}
|
|
510
|
+
|
|
491
511
|
/* Shell component wrapper */
|
|
492
512
|
tn-dialog-shell {
|
|
493
513
|
display: flex;
|
|
@@ -591,15 +611,6 @@ tn-dialog-shell {
|
|
|
591
611
|
background: rgba(0, 0, 0, 0.5);
|
|
592
612
|
}
|
|
593
613
|
|
|
594
|
-
/* Container positioning */
|
|
595
|
-
.cdk-dialog-container {
|
|
596
|
-
display: flex;
|
|
597
|
-
align-items: center;
|
|
598
|
-
justify-content: center;
|
|
599
|
-
min-height: 100vh;
|
|
600
|
-
box-sizing: border-box;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
614
|
/* Fullscreen dialog support */
|
|
604
615
|
.tn-dialog--fullscreen .cdk-dialog-container {
|
|
605
616
|
position: fixed;
|