Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
chore(lsg): Correct rotation for project list and page list arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilman Frick committed Dec 18, 2017
1 parent 5b18a8a commit 236a5f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/component/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class App extends React.Component<AppProps> {
// Todo: project and page don't update on page change
const project = this.props.store.getCurrentProject();
const page = this.props.store.getCurrentPage();
const title = `${project && project.getName()} > ${page && page.getName()}`;
const title = `${project && project.getName()}`;

let DevTools;
try {
Expand Down
2 changes: 1 addition & 1 deletion src/lsg/patterns/chrome/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const StyledChromeIcon = styled(Icon)`
fill: ${colors.grey36.toString()};
transition: transform 0.2s;
${(props: StyledChromeIconProps) => (props.open ? 'transform: rotate(90deg)' : '')};
${(props: StyledChromeIconProps) => (props.open ? 'transform: rotate(-90deg)' : 'transform: rotate(90deg)')};
`;

export default class Chrome extends React.Component<ChromeProps> {
Expand Down
2 changes: 1 addition & 1 deletion src/lsg/patterns/dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const StyledIcon = styled(Icon)`
fill: ${colors.grey36.toString()};
transition: transform 0.2s;
${(props: StyledIconProps) => (props.open ? 'transform: rotate(90deg)' : '')};
${(props: StyledIconProps) => (props.open ? 'transform: rotate(-90deg)' : 'transform: rotate(90deg)')};
`;

const StyledFlyout = styled.div`
Expand Down

0 comments on commit 236a5f4

Please sign in to comment.