Skip to content

Commit e1ecc05

Browse files
author
joiecaquicla
committed
#636: Responsive viewport switcher - fix static test
1 parent 6430bc1 commit e1ecc05

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/code/Magento/PageBuilder/Component/Form/Element/Wysiwyg.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg
4242
* @param ViewConfigInterface $viewConfig
4343
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
4444
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
45+
* @SuppressWarnings(PHPMD.NPathComplexity)
4546
* @throws \Magento\Framework\Exception\NoSuchEntityException
4647
*/
4748
public function __construct(
@@ -90,7 +91,7 @@ public function __construct(
9091
$wysiwygConfigData['viewports'] = $viewConfig->getViewConfig()->getVarValue(
9192
'Magento_PageBuilder',
9293
'breakpoints'
93-
);;
94+
);
9495

9596
if ($overrideSnapshot) {
9697
$pageBuilderConfig = $pageBuilderConfig ?: ObjectManager::getInstance()->get(PageBuilderConfig::class);

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_page-builder.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
.tooltip {
2828
margin-left: 0;
2929
.tooltip-content {
30-
background: rgba(49, 48, 43, 0.8);
31-
text-align: left;
30+
background: rgba(49, 48, 43, .8);
3231
font-size: 12px;
3332
padding: 7px 9px;
33+
text-align: left;
3434

3535
&:before {
36-
opacity: 0.65;
36+
opacity: .65;
3737
}
3838

3939
.tooltip-label {

0 commit comments

Comments
 (0)