@capillarytech/creatives-library 8.0.242-alpha.6 → 8.0.242-alpha.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/package.json
CHANGED
|
@@ -510,7 +510,7 @@ const HTMLEditor = ({
|
|
|
510
510
|
width="90vw"
|
|
511
511
|
className="html-editor-fullscreen-modal"
|
|
512
512
|
>
|
|
513
|
-
<CapRow className=
|
|
513
|
+
<CapRow className={`html-editor-fullscreen ${isLibraryMode ? 'html-editor-fullscreen--library-mode' : ''}`}>
|
|
514
514
|
{/* Editor Toolbar - Conditional based on variant */}
|
|
515
515
|
{variant === HTML_EDITOR_VARIANTS.EMAIL ? (
|
|
516
516
|
<EditorToolbar
|
|
@@ -50,10 +50,9 @@
|
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
|
|
52
52
|
// Library mode: Apply specific styles when isFullMode is false
|
|
53
|
-
// Using combined selector for higher specificity without !important
|
|
54
53
|
&.html-editor--library-mode {
|
|
55
54
|
.preview-pane {
|
|
56
|
-
max-height: calc(
|
|
55
|
+
max-height: calc(95vh - 5%);
|
|
57
56
|
|
|
58
57
|
&__content {
|
|
59
58
|
height: calc(95vh - 5%); // Same as editor pane - maximize to full available height
|
|
@@ -248,6 +247,23 @@
|
|
|
248
247
|
}
|
|
249
248
|
}
|
|
250
249
|
|
|
250
|
+
// Fullscreen modal library mode styles (outside .html-editor block since fullscreen is a separate element)
|
|
251
|
+
.html-editor-fullscreen--library-mode {
|
|
252
|
+
.preview-pane {
|
|
253
|
+
max-height: calc(95vh - 5%);
|
|
254
|
+
|
|
255
|
+
&__content {
|
|
256
|
+
height: calc(95vh - 5%); // Same as editor pane - maximize to full available height
|
|
257
|
+
max-height: calc(95vh - 50%);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
iframe {
|
|
261
|
+
height: calc(95vh - 5%); // Same as editor pane - maximize to full available height
|
|
262
|
+
max-height: calc(95vh - 50%);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
251
267
|
// Animation classes for smooth transitions
|
|
252
268
|
.html-editor-transition {
|
|
253
269
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|