- Fix footer alignment using sticky positioning
- Ensure footer stays at bottom for short notification lists
- Resolve ExpressionChangedAfterItHasBeenCheckedError
- Remove manual change detection causing test instability
Signed-off-by: Shashiranjan singh <singhshashiranjan34@gmail.com>
align-items: flex-start;
position: relative;
+ > cd-icon {
+ margin-top: -$spacing-03;
+ }
+
.notification-close {
position: absolute;
right: 0;
.notification-footer {
position: sticky;
+ bottom: 0;
+ width: 100%;
z-index: 2;
display: flex;
align-items: center;
background-color: theme.$layer-01;
block-size: 2.5rem;
border-block-start: 1px solid theme.$border-subtle-01;
- inset-block-end: 0;
min-block-size: 2.5rem;
cursor: pointer;
position: fixed;
z-index: 2;
overflow-y: auto;
- overflow-x: hidden;
background-color: var(--cds-layer-01);
border-block-end: 1px solid var(--cds-border-subtle-02);
border-inline-start: 1px solid var(--cds-border-subtle-02);