mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Setting 0 height as an inline style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
cc8db57def
commit
1b41754188
@ -4,6 +4,7 @@ exports[`cluster modal elements given custom cluster modal available renders 1`]
|
||||
<div>
|
||||
<div
|
||||
class="clusterModals"
|
||||
style="height: 0px;"
|
||||
>
|
||||
<div
|
||||
data-testid="test-modal"
|
||||
@ -521,6 +522,7 @@ exports[`cluster modal elements given custom cluster modal not available renders
|
||||
<div>
|
||||
<div
|
||||
class="clusterModals"
|
||||
style="height: 0px;"
|
||||
/>
|
||||
<div
|
||||
class="Notifications flex column align-flex-end"
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.clusterModals {
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
@ -15,7 +15,7 @@ interface Dependencies {
|
||||
|
||||
export const NonInjectedClusterModals = ({ clusterModals }: Dependencies) => {
|
||||
return (
|
||||
<div className={styles.clusterModals}>
|
||||
<div className={styles.clusterModals} style={{ height: 0 }}>
|
||||
{clusterModals.map((modal) => {
|
||||
return modal.visible ? <modal.Component key={modal.id} /> : null;
|
||||
})}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user