Skip to content

Commit

Permalink
Update step-36-content-density-typescript-667aa4a.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KlattG authored Dec 19, 2024
1 parent 3cdb752 commit 87936dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class Component extends UIComponent {
...
};
getContentDensityClass(): string {
// if the Fiori Launchpad has already set the content density class according to its logic, don't override it
// if the content density has already been set, don't override it
const classList = document.body.classList;
if (classList.contains("sapUiSizeCozy") || classList.contains("sapUiSizeCompact")) {
return "";
Expand Down

0 comments on commit 87936dc

Please sign in to comment.