Skip to content

Commit

Permalink
this syntax looks worse, but works?
Browse files Browse the repository at this point in the history
  • Loading branch information
AWare committed Feb 26, 2021
1 parent 4eae820 commit f419f8f
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 2 deletions.
152 changes: 151 additions & 1 deletion dev/script/generate-config/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kahuna/public/js/image/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
ng-if="!ctrl.crop"
draggable="true"
ui-drag-data="ctrl.image | asImageDragData">
<img ng-class="[easel__image, {'easel__image--checkered__background': ctrl.image.data.optimisedPng }]"
<img ng-class="{'easel__image':true,'easel__image--checkered__background': ctrl.image.data.optimisedPng }"
alt="preview of original image"
ng-src="{{:: ctrl.optimisedImageUri}}"
grid:track-image="ctrl.image"
Expand Down

0 comments on commit f419f8f

Please sign in to comment.