Skip to content

Commit

Permalink
Changing left and right padding on User Profiles screen (#134944)
Browse files Browse the repository at this point in the history
* Removing left/right padding overrides on the page template and the header

* Explicitly using EuiPageHeader w/ bottomBorder appears to match width of the content

* Removing bottom border and using EuiPageTemplate pageHeader prop to facilitate adopting future changes

* Adding titleProps back and removing unnecessary React wrapper

* Removing this style so that the default light gray background will show through on the header and provide some contrast between header and body.
  • Loading branch information
kc13greiner authored Jun 28, 2022
1 parent f902f68 commit c5ce935
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,12 +511,8 @@ export const UserProfile: FunctionComponent<UserProfileProps> = ({ user, data })
) : null}

<EuiPageTemplate
style={{ backgroundColor: euiTheme.colors.emptyShade }}
className="eui-fullHeight"
pageContentBodyProps={{ style: { paddingLeft: 0, paddingRight: 0 } }}
pageHeader={{
style: { paddingLeft: 0, paddingRight: 0 },
bottomBorder: true,
pageTitle: (
<FormattedMessage
id="xpack.security.accountManagement.userProfile.title"
Expand Down

0 comments on commit c5ce935

Please sign in to comment.