diff --git a/libs/extensions/angular/image-banner/src/image-banner.component.html b/libs/extensions/angular/image-banner/src/image-banner.component.html index 94c8d9cb39..db36514c24 100644 --- a/libs/extensions/angular/image-banner/src/image-banner.component.html +++ b/libs/extensions/angular/image-banner/src/image-banner.component.html @@ -10,6 +10,8 @@ + +
diff --git a/libs/extensions/angular/image-banner/src/image-banner.component.scss b/libs/extensions/angular/image-banner/src/image-banner.component.scss index 64760b9c2c..ff8e74f24a 100644 --- a/libs/extensions/angular/image-banner/src/image-banner.component.scss +++ b/libs/extensions/angular/image-banner/src/image-banner.component.scss @@ -21,10 +21,13 @@ $container-query-breakpoint: 600px; } } -:host { - display: block; +// Container-type: inline-size currently causes block elements to collapse in curtain scenarios on Safari +// To avoid content collapsing we use an empty block element as the container instead (we only need the inline size) +.banner-ruler { container-name: banner; container-type: inline-size; + content: none; + visibility: hidden; } :host(.none) {