1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fine-tuning PageLayout header

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-03-23 12:51:14 +03:00
parent 567bb465ff
commit e02f3426ea
3 changed files with 14 additions and 3 deletions

View File

@ -53,8 +53,8 @@ export class ClusterSettings extends React.Component<Props> {
if (!cluster) return null; if (!cluster) return null;
const header = ( const header = (
<> <>
<ClusterIcon cluster={cluster} showErrors={false} showTooltip={false}/> <ClusterIcon cluster={cluster} showErrors={false} showTooltip={false} isActive />
<h2>{cluster.preferences.clusterName}</h2> <h1>{cluster.preferences.clusterName}</h1>
</> </>
); );

View File

@ -47,7 +47,7 @@ export class Preferences extends React.Component {
render() { render() {
const { preferences } = userStore; const { preferences } = userStore;
const header = <h2>Preferences</h2>; const header = <h1>Preferences</h1>;
let defaultShell = process.env.SHELL || process.env.PTYSHELL; let defaultShell = process.env.SHELL || process.env.PTYSHELL;
if (!defaultShell) { if (!defaultShell) {

View File

@ -53,6 +53,17 @@
height: var(--header-height); height: var(--header-height);
grid-column-start: 1; grid-column-start: 1;
grid-column-end: 4; grid-column-end: 4;
.ClusterIcon {
--size: 32px;
margin-right: 15px;
margin-left: 4px;
}
h1 {
color: var(--textColorAccent);
font-size: 24px;
}
} }
> .content-navigation { > .content-navigation {