mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Add breadcrumb spacing on Contacts page (#7087)
This commit is contained in:
parent
f6d25357db
commit
887b2572f5
@ -52,6 +52,11 @@
|
||||
color: #037DD6;
|
||||
}
|
||||
|
||||
&__subheader--break {
|
||||
margin-right: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
&__sub-header {
|
||||
height: 72px;
|
||||
border-bottom: 1px solid #D8D8D8;
|
||||
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user