diff --git a/src/renderer/components/+add-cluster/add-cluster.scss b/src/renderer/components/+add-cluster/add-cluster.scss index 9583ec17b9..70527c8ec7 100644 --- a/src/renderer/components/+add-cluster/add-cluster.scss +++ b/src/renderer/components/+add-cluster/add-cluster.scss @@ -42,9 +42,4 @@ .text-primary { color: var(--textColorAccent); } - - .hint { - display: block; - padding-top: 6px; - } } diff --git a/src/renderer/components/+add-cluster/add-cluster.tsx b/src/renderer/components/+add-cluster/add-cluster.tsx index dc5cdf4d4c..47a2af4aca 100644 --- a/src/renderer/components/+add-cluster/add-cluster.tsx +++ b/src/renderer/components/+add-cluster/add-cluster.tsx @@ -231,7 +231,7 @@ export class AddCluster extends React.Component { /> {this.sourceTab === KubeConfigSourceTab.FILE && ( -
+ <>
Pro-Tip: you can also drag-n-drop kubeconfig file to this area -
+ )} {this.sourceTab === KubeConfigSourceTab.TEXT && ( -
+
-

Add Clusters

} showOnTop={true}> -

Add Clusters from Kubeconfig

- {this.renderInfo()} - {this.renderKubeConfigSource()} - {this.renderContextSelector()} - - {this.showSettings && ( -
-

HTTP Proxy server. Used for communicating with Kubernetes API.

- this.proxyServer = value} - theme="round-black" - /> - - {"A HTTP proxy server URL (format: http://
:)."} - + Add Clusters} showOnTop={true}> +
+

Add Clusters from Kubeconfig

+ {this.renderInfo()} + {this.renderKubeConfigSource()} + {this.renderContextSelector()} + - )} - {this.error && ( -
{this.error}
- )} + {this.showSettings && ( +
+

HTTP Proxy server. Used for communicating with Kubernetes API.

+ this.proxyServer = value} + theme="round-black" + /> + + {"A HTTP proxy server URL (format: http://
:)."} + +
+ )} + {this.error && ( +
{this.error}
+ )} -
-
+
+
+
); diff --git a/src/renderer/components/layout/page-layout.scss b/src/renderer/components/layout/page-layout.scss index 7aa459938c..68a0acbbef 100644 --- a/src/renderer/components/layout/page-layout.scss +++ b/src/renderer/components/layout/page-layout.scss @@ -3,7 +3,6 @@ --nav-width: 180px; --nav-column-width: 30vw; --spacing: calc(var(--unit) * 2); - --wrapper-padding: calc(var(--spacing) * 2); --header-height: 64px; --header-height-mac: 80px; @@ -48,7 +47,7 @@ > .header { position: sticky; - padding: var(--spacing); + padding: 16px 24px; background-color: var(--layoutTabsBackground); height: var(--header-height); grid-column-start: 1; @@ -57,7 +56,6 @@ .ClusterIcon { --size: 32px; --flex-gap: 15px; - margin-left: 4px; } h1 {