Skip to content

Commit

Permalink
MID-8748:fix for style of construction resource mappings step panel
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Apr 5, 2023
1 parent 0a28b7f commit db0c471
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ private List<IColumn<PO, String>> createColumns() {
InlineMenuButtonColumn<PO> actionsColumn = new InlineMenuButtonColumn<>(menuItems, getPageBase()) {
@Override
public String getCssClass() {
return "inline-menu-column ";
return getInlineMenuCssClass();
}

@Override
Expand All @@ -448,6 +448,10 @@ protected boolean isButtonMenuItemEnabled(IModel<PO> rowModel) {
return columns;
}

protected String getInlineMenuCssClass() {
return "inline-menu-column ";
}

protected boolean isMenuItemVisible(IModel<PO> rowModel) {
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ private void createVirtualItemInMapping(
}
}

@Override
protected String getInlineMenuCssClass() {
return "";
}

@Override
protected List<IColumn<PrismContainerValueWrapper<MappingType>, String>> createDefaultColumns() {
List<IColumn<PrismContainerValueWrapper<MappingType>, String>> columns = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected DisplayType getIconDisplayType(IModel<PrismContainerValueWrapper<Mappi

@Override
public String getCssClass() {
return "px-1";
return "px-0";
}
});

Expand All @@ -93,7 +93,7 @@ protected DisplayType getIconDisplayType(IModel<PrismContainerValueWrapper<Mappi

@Override
public String getCssClass() {
return "px-1";
return "px-0";
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ protected DisplayType getIconDisplayType(IModel<PrismContainerValueWrapper<Mappi

@Override
public String getCssClass() {
return "px-1";
return "px-0";
}
});

Expand All @@ -183,7 +183,7 @@ protected DisplayType getIconDisplayType(IModel<PrismContainerValueWrapper<Mappi

@Override
public String getCssClass() {
return "px-1";
return "px-0";
}
});

Expand Down

0 comments on commit db0c471

Please sign in to comment.