Skip to content

Commit

Permalink
A Modest Polish PR (#11191)
Browse files Browse the repository at this point in the history
* Remove "My" from config sub-pages

* Amend

* Change "Account" to "Profile"
  • Loading branch information
alexpaxton committed Jan 17, 2019
1 parent 6e06358 commit 46d1179
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
4 changes: 2 additions & 2 deletions ui/src/configuration/components/ConfigurationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ class ConfigurationPage extends Component<Props> {
<TabbedPageSection
id="settings_tab"
url="settings_tab"
title="My Settings"
title="Profile"
>
<Settings />
</TabbedPageSection>
<TabbedPageSection
id="tokens_tab"
url="tokens_tab"
title="My Tokens"
title="Tokens"
>
<Tokens />
</TabbedPageSection>
Expand Down
17 changes: 11 additions & 6 deletions ui/src/dashboards/components/VEO.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@
flex-direction: column;
@include gradient-v($g2-kevlar, $g0-obsidian);
border-radius: 0 0 $radius $radius;
}

.veo .time-machine {
padding: $page-gutter;
padding-top: 0;
padding-bottom: $ix-marg-c;
height: calc(100% - #{$page-header-size});
.page-header--container,
.time-machine {
padding-left: $ix-marg-d;
padding-right: $ix-marg-d;
}

.time-machine {
padding-top: 0;
padding-bottom: $ix-marg-c;
height: calc(100% - #{$page-header-size});
}
}
4 changes: 2 additions & 2 deletions ui/src/me/components/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ class ResourceLists extends PureComponent<Props> {
<Panel.Body>
<ul className="link-list">
<li>
<Link to={`/configuration/settings_tab`}>My Settings</Link>
<Link to={`/configuration/settings_tab`}>Profile</Link>
</li>
<li>
<Link to={`/configuration/tokens_tab`}>My Tokens</Link>
<Link to={`/configuration/tokens_tab`}>Tokens</Link>
</li>
</ul>
</Panel.Body>
Expand Down
8 changes: 4 additions & 4 deletions ui/src/pageLayout/containers/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ class SideNav extends PureComponent<Props> {
highlightWhen={['labels']}
/>
<NavMenu.SubItem
title="My Settings"
title="Profile"
link="/configuration/settings_tab"
location={location.pathname}
highlightWhen={['settings']}
highlightWhen={['settings_tab']}
/>
<NavMenu.SubItem
title="My Tokens"
title="Tokens"
link="/configuration/tokens_tab"
location={location.pathname}
highlightWhen={['tokens']}
highlightWhen={['tokens_tab']}
/>
</NavMenu.Item>
</NavMenu>
Expand Down

0 comments on commit 46d1179

Please sign in to comment.