Skip to content

Commit

Permalink
fix: pageheader gap
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmenendez committed Sep 4, 2024
1 parent e6ce08b commit 8605482
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ export const utilCheckUpdateVerticalSpace = (
update.headerTopValue += update.navigationRowHeight;
}

if (!hasActionBar && !widthIsNarrow) {
// Add difference between $spacing-08 and $spacing-07 to ensure space below breadcrumb is correct on scroll
// $spacing-07 is used as size for breadcrumb when no action bar otherwise $spacing-08
update.headerTopValue += 8;
}

if (!enableBreadcrumbScroll || !navigation) {
// adjust sticky top if no navigation or breadcrumb is to stay on screen
update.headerTopValue += update.breadcrumbRowHeight;
Expand Down

0 comments on commit 8605482

Please sign in to comment.