Skip to content

Commit 711a16f

Browse files
committed
ACP2E-3397: [Feature Request] Content staging preview in mobile view
1 parent 89b4e2e commit 711a16f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/design/adminhtml/Magento/backend/Magento_Staging/web/css/source/module/_staging-preview.less

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@
342342
}
343343
}
344344

345+
// Remove min-width specified for the global body element when the body has the class staging-update-preview
346+
// This is to allow the preview to be displayed in a smaller window or mobile device simulation
347+
body.staging-update-preview {
348+
min-width: initial;
349+
}
350+
345351
//
346352
// Generic restyled elements
347353
// ---------------------------------------------
@@ -433,7 +439,7 @@
433439
border-left-color: @staging-preview-table-lighten__border-color;
434440
border-right-color: @staging-preview-table-lighten__border-color;
435441
color: @staging-preview-table-text__color;
436-
442+
437443
&:first-child {
438444
border-left: none;
439445
}

0 commit comments

Comments
 (0)