Fix collapsed masonry view in safari (#16772)

This commit is contained in:
Paul Bottein 2023-06-05 13:48:16 +02:00 committed by GitHub
parent a96eff4d25
commit b337074758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,6 +320,11 @@ export class MasonryView extends LitElement implements LovelaceViewElement {
min-width: 0;
}
/* Fix for safari */
.column:has(> *) {
flex-grow: 1;
}
.column:not(:has(> *:not([hidden]))) {
flex-grow: 0;
}