Skip to content

Commit

Permalink
NCL-8806 Add margin to PageLayout TextContent
Browse files Browse the repository at this point in the history
  • Loading branch information
DnsZhou committed Sep 5, 2024
1 parent 718064d commit c28c091
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Object {
class="pf-v5-c-page__main-section pf-m-light"
>
<div
class="pf-v5-c-content pull-left"
class="pf-v5-c-content pull-left m-b-15"
>
<h1
class=""
Expand Down Expand Up @@ -779,7 +779,7 @@ Object {
class="pf-v5-c-page__main-section pf-m-light"
>
<div
class="pf-v5-c-content pull-left"
class="pf-v5-c-content pull-left m-b-15"
>
<h1
class=""
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageLayout/PageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const PageLayout = ({
</PageBreadcrumb>
)}
<PageSection variant={PageSectionVariants.light}>
<TextContent className={css((actions || sidebar) && 'pull-left')}>
<TextContent className={css((actions || sidebar) && 'pull-left m-b-15')}>
<Text component="h1">{title}</Text>
<Text component="p">{description}</Text>
</TextContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Object {
class="pf-v5-c-page__main-section pf-m-light"
>
<div
class="pf-v5-c-content pull-left"
class="pf-v5-c-content pull-left m-b-15"
>
<h1
class=""
Expand Down Expand Up @@ -428,7 +428,7 @@ Object {
class="pf-v5-c-page__main-section pf-m-light"
>
<div
class="pf-v5-c-content pull-left"
class="pf-v5-c-content pull-left m-b-15"
>
<h1
class=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Object {
class="pf-v5-c-page__main-section pf-m-light"
>
<div
class="pf-v5-c-content pull-left"
class="pf-v5-c-content pull-left m-b-15"
>
<h1
class=""
Expand Down Expand Up @@ -807,7 +807,7 @@ Object {
class="pf-v5-c-page__main-section pf-m-light"
>
<div
class="pf-v5-c-content pull-left"
class="pf-v5-c-content pull-left m-b-15"
>
<h1
class=""
Expand Down
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ code {
margin-bottom: 10px !important;
}

.m-b-15 {
margin-bottom: 15px !important;
}

.m-b-20 {
margin-bottom: 20px !important;
}
Expand Down

0 comments on commit c28c091

Please sign in to comment.