@@ -61,6 +61,7 @@ export const injectStyledCSS = (
6161
6262 var borderRadius = parseInt ( borderRadius , 10 ) ;
6363 const buttonBorderRadius = Math . round ( borderRadius * 1.05 ) ;
64+ const containerRadius = Math . round ( borderRadius * 0.8 ) ;
6465 const chatRadius = Math . round ( borderRadius * 0.6 ) ;
6566 const formItemBorderRadius = Math . round ( borderRadius * 0.4 ) ;
6667 const formItemSmallBorderRadius = Math . round ( borderRadius * 0.25 ) ;
@@ -97,7 +98,7 @@ export const injectStyledCSS = (
9798 z-index: ${ zIndexBase + 31 } ;
9899 visibility: visible;
99100 box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.16);
100- border-radius: ${ borderRadius } px;
101+ border-radius: ${ containerRadius } px;
101102 overflow: hidden;
102103 animation-duration: .3s;
103104 animation-fill-mode: both;
@@ -188,7 +189,7 @@ export const injectStyledCSS = (
188189 .gleap-frame-container--survey-full .gleap-frame-container-inner {
189190 max-width: 640px !important;
190191 width: calc(100% - 24px);
191- border-radius: ${ borderRadius } px;
192+ border-radius: ${ containerRadius } px;
192193 overflow: hidden;
193194 }
194195
@@ -465,8 +466,8 @@ export const injectStyledCSS = (
465466 content: " ";
466467 position: absolute;
467468 width: 100%;
468- height: calc(100% - ${ borderRadius } px);
469- top: ${ borderRadius } px;
469+ height: calc(100% - ${ containerRadius } px);
470+ top: ${ containerRadius } px;
470471 background-color: ${ backgroundColor } ;
471472 z-index: -1;
472473 }
0 commit comments