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; flex-grow: 2;
} }
.noIssues { .noIssues {
.ok-title { .Icon {
font-size: large; color: white;
color: var(--textColorAccent); }
font-weight: bold;
}
.allGood { .title {
color: white; 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) { if (!warnings.length) {
return ( return (
<div className={cssNames(styles.noIssues, "flex column box grow gaps align-center justify-center")}> <div className={cssNames(styles.noIssues, "flex column box grow gaps align-center justify-center")}>
<div><Icon className={styles.allGood} material="check" big sticker/></div> <Icon className={styles.Icon} material="check" big sticker/>
<div className="ok-title">No issues found</div> <p className={styles.title}>No issues found</p>
<span>Everything is fine in the Cluster</span> <p>Everything is fine in the Cluster</p>
</div> </div>
); );
} }