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

fix: leaking global classes from cluster-issues css-module

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-12-23 13:14:55 +01:00
parent 2d279a6b99
commit cba910b34d
2 changed files with 13 additions and 13 deletions

View File

@ -60,15 +60,15 @@
flex-grow: 2;
}
.noIssues {
.ok-title {
font-size: large;
color: var(--textColorAccent);
font-weight: bold;
}
.noIssues {
.Icon {
color: white;
}
.allGood {
color: white;
}
}
.title {
font-size: large;
color: var(--textColorAccent);
font-weight: bold;
}
}
}

View File

@ -149,9 +149,9 @@ export class ClusterIssues extends React.Component<Props> {
if (!warnings.length) {
return (
<div className={cssNames(styles.noIssues, "flex column box grow gaps align-center justify-center")}>
<div><Icon className={styles.allGood} material="check" big sticker/></div>
<div className="ok-title">No issues found</div>
<span>Everything is fine in the Cluster</span>
<Icon className={styles.Icon} material="check" big sticker/>
<p className={styles.title}>No issues found</p>
<p>Everything is fine in the Cluster</p>
</div>
);
}