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 (#4605)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-12-27 10:48:04 +02:00 committed by GitHub
parent 8082501bb3
commit 7e498d52d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>
); );
} }