@openkit-labs/ngx-kit-ui 0.0.34 → 0.0.35
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.
|
@@ -3347,7 +3347,8 @@ class KitGridComponent {
|
|
|
3347
3347
|
get gridTemplateRows() {
|
|
3348
3348
|
if (this.minRowHeight) {
|
|
3349
3349
|
const min = this.minRowHeight;
|
|
3350
|
-
|
|
3350
|
+
// Use `auto` as the default max so rows can grow to fit content
|
|
3351
|
+
const max = this.maxRowHeight || 'auto';
|
|
3351
3352
|
// Keep grid-template-rows for explicit templates, but also set
|
|
3352
3353
|
// grid-auto-rows so implicitly created rows (when items wrap)
|
|
3353
3354
|
// receive the same min/max sizing. Using `auto-fit` here alone
|
|
@@ -3370,7 +3371,7 @@ class KitGridComponent {
|
|
|
3370
3371
|
get gridAutoRows() {
|
|
3371
3372
|
if (this.minRowHeight) {
|
|
3372
3373
|
const min = this.minRowHeight;
|
|
3373
|
-
const max = this.maxRowHeight || '
|
|
3374
|
+
const max = this.maxRowHeight || 'auto';
|
|
3374
3375
|
return `minmax(${min}, ${max})`;
|
|
3375
3376
|
}
|
|
3376
3377
|
return null;
|