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