@wistia/vhs 2.47.0-beta.5f6482e8.901be2d → 2.47.0-beta.7c19bdff.8b4d781

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license VHS v2.47.0-beta.5f6482e8.901be2d
3
+ * @license VHS v2.47.0-beta.7c19bdff.8b4d781
4
4
  *
5
5
  * Copyright (c) 2021-2024, Wistia, Inc. and its affiliates.
6
6
  *
@@ -803,6 +803,24 @@
803
803
  overflow: hidden;
804
804
  text-overflow: ellipsis;
805
805
  white-space: nowrap;
806
+
807
+ /*
808
+ Using feature detection (i.e., -webkit-named-image) we only target Safari browsers
809
+ with this additional styling to prevent a bug that's exclusive to Safari.
810
+
811
+ Note that Safari does not properly hide the truncated text for non-inline/inline-block
812
+ elements so we need to apply display: inline to all the paragraphs in the description.
813
+ see https://stackoverflow.com/a/70683084
814
+ */
815
+ @supports (background: - webkit-named-image(i)) {
816
+ & > div > div:has(p) {
817
+ margin-top: 16px;
818
+ }
819
+
820
+ & > div > div > p {
821
+ display: inline;
822
+ }
823
+ }
806
824
  `,m8=li.css`
807
825
  min-width: 0;
808
826
  `,JI=li.default.div`