Skip to content

Commit

Permalink
[UI] Fix side nav text alignment after adding start page (#3015)
Browse files Browse the repository at this point in the history
* Fix side nav text alignment after adding start page

* Fix format
  • Loading branch information
Bobgy committed Feb 8, 2020
1 parent 19f721f commit f0d96b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export default class SideNav extends React.Component<SideNavProps, SideNavState>
collapsed && css.collapsedButton,
)}
>
<DescriptionIcon />
<DescriptionIcon style={{ width: 20, height: 20 }} />
<span className={classes(collapsed && css.collapsedLabel, css.label)}>
Getting Started
</span>
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/lib/Flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ export enum Deployments {
MARKETPLACE = 'MARKETPLACE',
}

const DEPLOYMENT_DEFAULT = undefined;
// Uncomment this to debug marketplace:
// const DEPLOYMENT_DEFAULT = Deployments.MARKETPLACE;

export const KFP_FLAGS = {
DEPLOYMENT:
// tslint:disable-next-line:no-string-literal
Expand All @@ -13,6 +17,6 @@ export const KFP_FLAGS = {
: // tslint:disable-next-line:no-string-literal
window['KFP_FLAGS']['DEPLOYMENT'] === Deployments.MARKETPLACE
? Deployments.MARKETPLACE
: undefined
: undefined,
: DEPLOYMENT_DEFAULT
: DEPLOYMENT_DEFAULT,
};

0 comments on commit f0d96b7

Please sign in to comment.