Skip to content

Commit

Permalink
fix(SidePanel web components): slide in issue (#6301)
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeethababu9223 authored Oct 28, 2024
1 parent 436f50d commit 3f4e21a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,11 @@ class CDSSidePanel extends HostListenerMixin(LitElement) {
newValues.marginInlineEnd = `${this?._sidePanel?.offsetWidth}px`;
}
}

Object.keys(newValues).forEach((key) => {
pageContentEl.style[key] = newValues[key];
});
if (this.slideIn) {
Object.keys(newValues).forEach((key) => {
pageContentEl.style[key] = newValues[key];
});
}
}
}
};
Expand Down Expand Up @@ -680,7 +681,6 @@ class CDSSidePanel extends HostListenerMixin(LitElement) {
const actionsMultiple = ['', 'single', 'double', 'triple'][
this._actionsCount
];

const titleTemplate = html`<div
class=${`${blockClass}__title`}
?no-label=${!!labelText}
Expand Down

0 comments on commit 3f4e21a

Please sign in to comment.