fix: widget embed — hide scrollbar in iframe mode

This commit is contained in:
2026-04-12 02:00:31 +03:00
parent d5240baffc
commit 291d45622b

View File

@@ -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>
</>
) )
} }