@prose-reader/core 1.132.0 → 1.133.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.js CHANGED
@@ -541,8 +541,8 @@ const layoutEnhancer = (next) => (options) => {
541
541
  height: ${columnHeight}px !important;
542
542
  }
543
543
  img, video, audio, object, svg {
544
- max-width: ${columnWidth}px !important;
545
- max-height: ${columnHeight}px !important;
544
+ -max-width: ${columnWidth}px !important;
545
+ -max-height: ${columnHeight}px !important;
546
546
  }
547
547
  table {
548
548
  max-width: ${columnWidth}px !important;
@@ -8102,8 +8102,8 @@ const buildStyleWithMultiColumn = ({
8102
8102
  ``}
8103
8103
  img, video, audio, object, svg {
8104
8104
  max-width: 100%;
8105
- max-width: ${columnWidth}px !important;
8106
- max-height: ${columnHeight}px !important;
8105
+ -max-width: ${columnWidth}px !important;
8106
+ -max-height: ${columnHeight}px !important;
8107
8107
  -pointer-events: none;
8108
8108
  -webkit-column-break-inside: avoid;
8109
8109
  page-break-inside: avoid;