@bigbinary/neeto-site-blocks 2.0.4 → 2.0.8

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.js CHANGED
@@ -7318,7 +7318,7 @@ var LinkElement = function LinkElement(_ref) {
7318
7318
  index = _ref.index,
7319
7319
  router = _ref.router,
7320
7320
  otherProps = _objectWithoutProperties(_ref, _excluded$y);
7321
- var baseClass = classnames("inline-flex items-center transition-all duration-300 ease-in-out relative", {
7321
+ var baseClass = classnames("flex items-center transition-all duration-300 ease-in-out relative", {
7322
7322
  "neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane,
7323
7323
  "pointer-events-none": isAddNewPane || !disableButtonAndLinks && action === ""
7324
7324
  });
@@ -13819,9 +13819,9 @@ var EmbedBooking = function EmbedBooking(_ref) {
13819
13819
  code = _properties$embed.code,
13820
13820
  embedPosition = _properties$embed.embedPosition,
13821
13821
  src = properties.backgroundImage.src;
13822
- var iframeInitialContent = isNotEmpty(code) ? "<!DOCTYPE html><html><head></head><body><div class=\"embed-booking\">\n ".concat(code, "\n </div></body></html>") : (disableButtonAndLinks || isAddNewPane) && embedPage(embedUrl);
13822
+ var iframeInitialContent = isNotEmpty(code) ? "<!DOCTYPE html><html><head><style>html,body{margin:0;padding:0;border:none;}</style></head><body><div class=\"embed-booking\">\n ".concat(code, "\n </div></body></html>") : (disableButtonAndLinks || isAddNewPane) && embedPage(embedUrl);
13823
13823
  var baseClasses = "grid gap-y-6 lg:gap-6 grid-cols-12 grid-flow-row-dense";
13824
- var mediaBaseClasses = classnames("col-span-12 flex flex-col items-center justify-center !w-full min-h-[550px] lg:min-h-[715px] border border-gray-100", {
13824
+ var mediaBaseClasses = classnames("col-span-12 flex flex-col items-center justify-center !w-full min-h-[550px] lg:min-h-[715px]", {
13825
13825
  "order-1 lg:col-span-7": POSITIONS.LEFT.label === embedPosition,
13826
13826
  "order-2 lg:col-span-7": POSITIONS.RIGHT.label === embedPosition,
13827
13827
  "lg:col-span-12 flex justify-center": POSITIONS.BOTTOM.label === embedPosition,