diff --git a/src/renderer/components/+preferences/preferences.tsx b/src/renderer/components/+preferences/preferences.tsx index 3a1664b23f..b56c79e2ef 100644 --- a/src/renderer/components/+preferences/preferences.tsx +++ b/src/renderer/components/+preferences/preferences.tsx @@ -137,7 +137,6 @@ export class Preferences extends React.Component {
-

Start-up

-

Proxy

- - this.httpProxy = v} - onBlur={() => preferences.httpsProxy = this.httpProxy} - /> - - Proxy is used only for non-cluster communication. - +
+

Proxy

+ + this.httpProxy = v} + onBlur={() => preferences.httpsProxy = this.httpProxy} + /> + + Proxy is used only for non-cluster communication. + +
- - preferences.allowUntrustedCAs = v} - /> - - This will make Lens to trust ANY certificate authority without any validations.{" "} - Needed with some corporate proxies that do certificate re-writing.{" "} - Does not affect cluster communications! - +
+ +
+ + preferences.allowUntrustedCAs = v.target.checked} + name="startup" + /> + } + label="Allow untrusted Certificate Authorities" + /> + + This will make Lens to trust ANY certificate authority without any validations.{" "} + Needed with some corporate proxies that do certificate re-writing.{" "} + Does not affect cluster communications! + +
)} diff --git a/src/renderer/components/layout/page-layout.scss b/src/renderer/components/layout/page-layout.scss index ef7aca9824..4122567948 100644 --- a/src/renderer/components/layout/page-layout.scss +++ b/src/renderer/components/layout/page-layout.scss @@ -168,6 +168,10 @@ &:not(:first-child) { margin-top: 40px; + + &.small { + margin-top: 20px; + } } h1, h2 { @@ -183,9 +187,8 @@ } .hint { - margin-top: 4px; + margin-top: 8px; font-size: 14px; - color: var(--textColorDimmed); } .SubTitle { @@ -199,6 +202,10 @@ margin-top: 40px; height: 1px; border-top: thin solid #ffffff0f; + + &.small { + margin-top: 20px; + } } } }