Skip to content

Commit

Permalink
fix minor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
paulclindo committed Aug 21, 2021
1 parent 3d60b5b commit 11632c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow
import React, { Component } from 'react';
import type { Node } from 'react';
import type { Node, ComponentType } from 'react';
import classnames from 'classnames';
import { observer } from 'mobx-react';
import { Button } from 'react-polymorph/lib/components/Button';
Expand Down Expand Up @@ -59,7 +59,7 @@ type Props = {|
+onExternalLinkClick: MouseEvent => void,
|};
type InjectedProps = {|
+isRevampLayout: string,
+changeLayout: void => void,
+renderLayoutComponent: LayoutComponentMap => Node,
|};
type AllProps = {| ...Props, ...InjectedProps |};
Expand Down Expand Up @@ -207,4 +207,4 @@ class ThemeSettingsBlock extends Component<AllProps> {
});
}
}
export default (withLayout(ThemeSettingsBlock): Node);
export default (withLayout(ThemeSettingsBlock): ComponentType<Props>);
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
font-family: var(--font-regular);
line-height: var(--theme-sidebar-text-line-height);
color: var(--theme-sidebar-text-color);
transition: 0.3s opacity;

& + & {
margin-top: 18px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
display: flex;
flex-direction: column;
align-items: center;
background: linear-gradient(30.09deg, #244abf 0%, #4760ff 100%);
background: var(--theme-sidebar-background-color);
}

.header {
Expand Down

0 comments on commit 11632c3

Please sign in to comment.