@wix/vibe-bookings-plugin 0.43.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3097,19 +3097,19 @@ For example, instead of using the service list route as is, wrap it with a prope
|
|
|
3097
3097
|
\`\`\`
|
|
3098
3098
|
|
|
3099
3099
|
The \`BookingProvider\` also renders **global breadcrumbs** above all booking flow pages (locations → services → slots → form). The breadcrumbs are 100% width with no padding by default.
|
|
3100
|
-
If you want to style or position the breadcrumbs (e.g., add padding, center them, match your page layout), wrap the \`<BookingProvider>\` with your layout wrapper:
|
|
3100
|
+
If you want to style or position the breadcrumbs (e.g., add padding, center them, match your page layout), wrap the \`<BookingProvider>\` with your layout wrapper and add margin to the content below it:
|
|
3101
3101
|
\`\`\`tsx
|
|
3102
3102
|
<WixServicesProvider>
|
|
3103
|
-
<div className="bg-background
|
|
3104
|
-
<
|
|
3105
|
-
<
|
|
3103
|
+
<div className="bg-background pt-16 px-8">
|
|
3104
|
+
<BookingProvider>
|
|
3105
|
+
<div className="mt-12">
|
|
3106
3106
|
<Outlet />
|
|
3107
|
-
</
|
|
3108
|
-
</
|
|
3107
|
+
</div>
|
|
3108
|
+
</BookingProvider>
|
|
3109
3109
|
</div>
|
|
3110
3110
|
</WixServicesProvider>
|
|
3111
3111
|
\`\`\`
|
|
3112
|
-
This will apply consistent padding
|
|
3112
|
+
This will apply consistent padding to both the breadcrumbs and the page content, with proper spacing between the breadcrumbs and the content below them.
|
|
3113
3113
|
|
|
3114
3114
|
# Layout changes
|
|
3115
3115
|
The bookings system provides a provider that must be integrated into the site layout.
|