Skip to content

Commit

Permalink
feat: Restore jump nav and content width (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunyachek authored Dec 24, 2024
1 parent 1fcb762 commit 5b67662
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/account-settings/AccountSettingsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -814,12 +814,12 @@ class AccountSettingsPage extends React.Component {
</h1>
<div>
<div className="row">
<div className="col-md-2">
<div className="col-md-3">
<JumpNav
displayDemographicsLink={this.props.formValues.shouldDisplayDemographicsSection}
/>
</div>
<div className="col-md-10">
<div className="col-md-9">
{loading ? this.renderLoading() : null}
{loaded ? this.renderContent() : null}
{loadingError ? this.renderError() : null}
Expand Down
2 changes: 1 addition & 1 deletion src/account-settings/JumpNav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const JumpNav = ({
const showPreferences = useSelector(selectShowPreferences());

return (
<div className={classNames('jump-nav px-2.25', { 'jump-nav-sm position-sticky pt-3': stickToTop })}>
<div className={classNames('jump-nav', { 'jump-nav-sm position-sticky pt-3': stickToTop })}>
<Scrollspy
items={[
'basic-information',
Expand Down
4 changes: 2 additions & 2 deletions src/account-settings/test/__snapshots__/JumpNav.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`JumpNav should not render Optional Information or delete account link 1`] = `
<div
className="jump-nav px-2.25 jump-nav-sm position-sticky pt-3"
className="jump-nav jump-nav-sm position-sticky pt-3"
>
<ul
className="list-unstyled"
Expand Down Expand Up @@ -79,7 +79,7 @@ exports[`JumpNav should not render Optional Information or delete account link 1

exports[`JumpNav should render Optional Information and delete account link 1`] = `
<div
className="jump-nav px-2.25 jump-nav-sm position-sticky pt-3"
className="jump-nav jump-nav-sm position-sticky pt-3"
>
<ul
className="list-unstyled"
Expand Down

0 comments on commit 5b67662

Please sign in to comment.