fix: leaking global classes from cluster-issues css-module (#4605)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman authored and GitHub committed 2021-12-27 09:48:04 +01:00
1 parent 8082501bb3
commit 7e498d52d0
2 files changed
+13 -13

No files matched your search

@@ -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;
}
}
} }
@@ -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>
); );
} }