Skip to content

Commit a0f182f

Browse files
committed
feat: Restore jump nav and content width
1 parent 3467534 commit a0f182f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/account-settings/AccountSettingsPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,12 +843,12 @@ class AccountSettingsPage extends React.Component {
843843
</h1>
844844
<div>
845845
<div className="row">
846-
<div className="col-md-2">
846+
<div className="col-md-3">
847847
<JumpNav
848848
displayDemographicsLink={this.props.formValues.shouldDisplayDemographicsSection}
849849
/>
850850
</div>
851-
<div className="col-md-10">
851+
<div className="col-md-9">
852852
{loading ? this.renderLoading() : null}
853853
{loaded ? this.renderContent() : null}
854854
{loadingError ? this.renderError() : null}

src/account-settings/JumpNav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const JumpNav = ({
2020
const showPreferences = useSelector(selectShowPreferences());
2121

2222
return (
23-
<div className={classNames('jump-nav px-2.25', { 'jump-nav-sm position-sticky pt-3': stickToTop })}>
23+
<div className={classNames('jump-nav', { 'jump-nav-sm position-sticky pt-3': stickToTop })}>
2424
<Scrollspy
2525
items={[
2626
'basic-information',

src/account-settings/test/__snapshots__/JumpNav.test.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports[`JumpNav should not render Optional Information or delete account link 1
88
data-testid="browser-router"
99
>
1010
<div
11-
className="jump-nav px-2.25 jump-nav-sm position-sticky pt-3"
11+
className="jump-nav jump-nav-sm position-sticky pt-3"
1212
>
1313
<ul
1414
className="list-unstyled"
@@ -93,7 +93,7 @@ exports[`JumpNav should render Optional Information and delete account link 1`]
9393
data-testid="browser-router"
9494
>
9595
<div
96-
className="jump-nav px-2.25 jump-nav-sm position-sticky pt-3"
96+
className="jump-nav jump-nav-sm position-sticky pt-3"
9797
>
9898
<ul
9999
className="list-unstyled"

0 commit comments

Comments
 (0)