Skip to content

Commit

Permalink
Fixed Custom HTML widget layout and icons. (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaslonov authored Jun 7, 2022
1 parent 4bbf6a4 commit e2f535b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/custom-html/ko/customHtmlViewModelBinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class CustomHtmlViewModelBinder implements ViewModelBinder<HTMLInjectionM
displayName: widgetDisplayName,
layer: bindingContext?.layer,
model: model,
flow: ComponentFlow.Contents,
flow: ComponentFlow.Block,
editor: widgetEditorSelector,
draggable: true,
applyChanges: async () => {
Expand Down
4 changes: 4 additions & 0 deletions src/themes/designer/styles/icons-widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,7 @@
.widget-icon-youtube-player {
background-image: url("./icons/icon-youtube-player.svg");
}

.widget-icon-api-management {
background-image: url("./icons/icon-api-management.svg");
}

0 comments on commit e2f535b

Please sign in to comment.