@playpilot/tpi 6.2.2 → 6.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "6.2.2",
3
+ "version": "6.2.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -72,12 +72,12 @@
72
72
 
73
73
  window.PlayPilotLinkInjections.config = config
74
74
 
75
- isUrlExcluded = !!(config?.exclude_urls_pattern && url.match(new RegExp(config.exclude_urls_pattern)))
76
- if (isUrlExcluded) return
77
-
78
75
  if (config?.custom_style) insertCustomStyle(config.custom_style || '')
79
76
  if (config?.explore_navigation_selector) insertExploreIntoNavigation()
80
77
 
78
+ isUrlExcluded = !!(config?.exclude_urls_pattern && url.match(new RegExp(config.exclude_urls_pattern)))
79
+ if (isUrlExcluded) return
80
+
81
81
  setElements(config?.html_selector || '', config?.exclude_elements_selector || '')
82
82
  } catch(error) {
83
83
  // We return if the config did not get fetched properly, as we can't determine what should and should
@@ -218,7 +218,7 @@
218
218
 
219
219
  @include desktop() {
220
220
  height: unset;
221
- margin-top: 0;
221
+ margin: auto 0;
222
222
  padding-bottom: 0;
223
223
  overflow: visible;
224
224
  border-radius: theme(detail-border-radius, border-radius-large);