From: Sagar Gopale
Date: Mon, 9 Mar 2026 13:41:46 +0000 (+0530)
Subject: mgr/dashboard: Footer actions shift upward instead of staying pinned at modal bottom...
X-Git-Tag: v21.0.0~89^2
X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5cd670287846a4057b1bc22f64bce2f447bbd074;p=ceph.git
mgr/dashboard: Footer actions shift upward instead of staying pinned at modal bottom in NVMe/TCP subsystem create wizard
Fixes: https://tracker.ceph.com/issues/75409
Signed-off-by: Sagar Gopale
---
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems-form/nvmeof-subsystem-step-2/nvmeof-subsystem-step-2.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems-form/nvmeof-subsystem-step-2/nvmeof-subsystem-step-2.component.html
index 40e4afd55a1..b43d878f8cc 100644
--- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems-form/nvmeof-subsystem-step-2/nvmeof-subsystem-step-2.component.html
+++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems-form/nvmeof-subsystem-step-2/nvmeof-subsystem-step-2.component.html
@@ -60,7 +60,7 @@
class="form-item">
Add host manually
+ i18n>Add hosts
} @else {
.tearsheet-content {
+ flex: 1 1 auto;
+ min-height: 0;
+ max-block-size: none;
+}
+
//FOOTER
.tearsheet-footer {
border-top: 1px solid var(--cds-border-subtle);
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/tearsheet/tearsheet.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/tearsheet/tearsheet.component.ts
index 99fdbfa1f20..4aa5bc33934 100644
--- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/tearsheet/tearsheet.component.ts
+++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/tearsheet/tearsheet.component.ts
@@ -10,7 +10,8 @@ import {
DestroyRef,
OnDestroy,
ChangeDetectionStrategy,
- TemplateRef
+ TemplateRef,
+ ViewEncapsulation
} from '@angular/core';
import { FormBuilder } from '@angular/forms';
import { Step } from 'carbon-components-angular';
@@ -54,7 +55,8 @@ formgroup: CdFormGroup;
standalone: false,
templateUrl: './tearsheet.component.html',
styleUrls: ['./tearsheet.component.scss'],
- changeDetection: ChangeDetectionStrategy.OnPush
+ changeDetection: ChangeDetectionStrategy.OnPush,
+ encapsulation: ViewEncapsulation.None
})
export class TearsheetComponent implements OnInit, AfterViewInit, OnDestroy {
@Input() title!: string;