fix: widget embed — hide scrollbar in iframe mode
This commit is contained in:
@@ -79,6 +79,8 @@ export function BookingWidgetStandalonePage() {
|
|||||||
|
|
||||||
if (isEmbed) {
|
if (isEmbed) {
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
<style>{`::-webkit-scrollbar{display:none}*{scrollbar-width:none}`}</style>
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<WidgetPreview
|
<WidgetPreview
|
||||||
settings={settings}
|
settings={settings}
|
||||||
@@ -90,6 +92,7 @@ export function BookingWidgetStandalonePage() {
|
|||||||
embed
|
embed
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user