Skip to content

Commit c02ab8d

Browse files
committed
PB-108 static test fixes
1 parent ee70dcb commit c02ab8d

File tree

2 files changed

+11
-9
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+11
-9
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/column-line/_default.less

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
// _____________________________________________
99

1010
.pagebuilder-column-line {
11-
width:100%;
12-
position:relative;
11+
position: relative;
12+
width: 100%;
1313

14-
.bottom-drop-placeholder, .column-drop-placeholder {
14+
.bottom-drop-placeholder,
15+
.column-drop-placeholder {
1516
background: rgba(142, 0, 6, 0.3);
16-
height:30px;
17-
display:none;
18-
z-index:26;
17+
display: none;
18+
height: 30px;
19+
z-index: 26;
1920
}
2021

2122
.element-children {
22-
display:flex;
23-
width:100%
23+
display: flex;
24+
width: 100%;
2425
}
2526
}

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/column-line/preview.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ export default class Preview extends PreviewCollection {
336336
private onExistingColumnDrop(movePosition: DropPosition) {
337337
const column = getDragColumn();
338338
const sourceLinePreview = column.parentContentType.preview as ColumnLinePreview;
339-
let modifyOldNeighbour;
339+
let modifyOldNeighbour: ContentTypeCollectionInterface<ColumnPreview>;
340+
340341

341342
// Determine which old neighbour we should modify
342343
const oldWidth = sourceLinePreview.getResizeUtils().getColumnWidth(column);

0 commit comments

Comments
 (0)