Skip to content

Commit

Permalink
Add breadcrumb spacing on Contacts page (#7087)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes authored and Gudahtt committed Aug 31, 2019
1 parent f6d2535 commit 887b257
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ui/app/pages/settings/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
color: #037DD6;
}

&__subheader--break {
margin-right: 4px;
padding-right: 4px;
}

&__sub-header {
height: 72px;
border-bottom: 1px solid #D8D8D8;
Expand Down
8 changes: 6 additions & 2 deletions ui/app/pages/settings/settings.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,12 @@ class SettingsPage extends PureComponent {
className={c({ 'settings-page__subheader--link': initialBreadCrumbRoute })}
onClick={() => initialBreadCrumbRoute && history.push(initialBreadCrumbRoute)}
>{subheaderText}</div>
{breadCrumbTextKey && <div><span>{'> '}</span>{t(breadCrumbTextKey)}</div>}
{isAddressEntryPage && <div><span>{' > '}</span>{addressName}</div>}
{breadCrumbTextKey && <div
className="settings-page__subheader--break"
><span>{' > '}</span>{t(breadCrumbTextKey)}</div>}
{isAddressEntryPage && <div
className="settings-page__subheader--break"
><span>{' > '}</span>{addressName}</div>}
</div>
)
}
Expand Down

0 comments on commit 887b257

Please sign in to comment.