Skip to content

Commit 522dd18

Browse files
committed
Merge branch 'ACP2E-3397' of https://github.com/adobe-commerce-tier-4/magento2ce into PR-04-03-2025
2 parents b14bc46 + 6961fb2 commit 522dd18

File tree

2 files changed

+10
-3
lines changed
  • app/design/adminhtml/Magento/backend/Magento_Staging/web/css/source/module
  • dev/tests/static/testsuite/Magento/Test/Less/_files/blacklist

2 files changed

+10
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// /**
2-
// * Copyright © Magento, Inc. All rights reserved.
3-
// * See COPYING.txt for license details.
2+
// * Copyright 2015 Adobe
3+
// * All Rights Reserved.
44
// */
55

66
//
@@ -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
}

dev/tests/static/testsuite/Magento/Test/Less/_files/blacklist/old.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ app/design/adminhtml/Magento/backend/Magento_Msrp/web/css/source/_module-old.les
1616
app/design/adminhtml/Magento/backend/Magento_ProductVideo/web/css/source/_module.less
1717
app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order.less
1818
app/design/adminhtml/Magento/backend/Magento_Staging/web/css/source/module/_scheduled-changes.less
19+
app/design/adminhtml/Magento/backend/Magento_Staging/web/css/source/module/_staging-preview.less
1920
app/design/adminhtml/Magento/backend/Magento_Tax/web/css/source/_module-old.less
2021
app/design/adminhtml/Magento/backend/Magento_Theme/web/css/source/_module-old.less
2122
app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/_module-old.less

0 commit comments

Comments
 (0)