diff --git a/src/renderer/components/+preferences/preferences.tsx b/src/renderer/components/+preferences/preferences.tsx index b56c79e2ef..9616ff95d7 100644 --- a/src/renderer/components/+preferences/preferences.tsx +++ b/src/renderer/components/+preferences/preferences.tsx @@ -8,7 +8,6 @@ import { userStore } from "../../../common/user-store"; import { isWindows } from "../../../common/vars"; import { appPreferenceRegistry } from "../../../extensions/registries/app-preference-registry"; import { themeStore } from "../../theme.store"; -import { Checkbox } from "../checkbox"; import { Input } from "../input"; import { PageLayout } from "../layout/page-layout"; import { SubTitle } from "../layout/sub-title"; @@ -23,7 +22,8 @@ enum PreferencesTab { Application = "application", Proxy = "proxy", Kubernetes = "kubernetes", - Extensions = "extensions" + Extensions = "extensions", + Other = "other" } @observer @@ -82,6 +82,11 @@ export class Preferences extends React.Component { label="Extensions" active={this.activeTab == PreferencesTab.Extensions} /> + ); } @@ -107,8 +112,8 @@ export class Preferences extends React.Component { > {this.activeTab == PreferencesTab.Application && (
+

Application

-

Appearance

- -
- -
- preferences.openAtLogin = v.target.checked} - name="startup" - /> - } - label="Automatically start Lens on login" - /> -
)} {this.activeTab == PreferencesTab.Proxy && ( @@ -224,6 +213,23 @@ export class Preferences extends React.Component { })} )} + + {this.activeTab == PreferencesTab.Other && ( +
+

Other

+ + preferences.openAtLogin = v.target.checked} + name="startup" + /> + } + label="Automatically start Lens on login" + /> +
+ )} ); } diff --git a/src/renderer/components/layout/page-layout.scss b/src/renderer/components/layout/page-layout.scss index 4122567948..c1ce85b791 100644 --- a/src/renderer/components/layout/page-layout.scss +++ b/src/renderer/components/layout/page-layout.scss @@ -166,7 +166,7 @@ display: flex; flex-direction: column; - &:not(:first-child) { + &:not(:first-of-type) { margin-top: 40px; &.small {