Skip to content

Commit

Permalink
fix(ui5-dynamic-page): remove redundant padding (#10448)
Browse files Browse the repository at this point in the history
Removed unnecessary padding-top and padding-bottom from ui5-dynamic-page-header-root to reduce spacing between the title and content.

Fixes: #10413
  • Loading branch information
NakataCode authored Jan 21, 2025
1 parent c2c3608 commit 491538b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/fiori/src/themes/DynamicPageHeader.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

.ui5-dynamic-page-header-root {
background: inherit;
padding-top: var(--_ui5_dynamic_page_header_padding_top);
padding-bottom: var(--_ui5_dynamic_page_header_padding_bottom);
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
:root {
--_ui5_dynamic_page_header_padding_top: 1rem;
--_ui5_dynamic_page_header_padding_bottom: 1rem;

--_ui5_dynamic_page_header_background_color: var(--sapObjectHeader_Background);
--_ui5_dynamic_page_header-actions-box-shadow: var(--sapContent_Shadow0);
--_ui5_dynamic_page_header-box-shadow: var(--sapContent_HeaderShadow);
Expand Down

0 comments on commit 491538b

Please sign in to comment.