Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fixed overlay overflow on left-most images in gallery card
Browse files Browse the repository at this point in the history
no issue
- margin was applied to the wrong edge
  • Loading branch information
kevinansfield committed Dec 11, 2018
1 parent 7d0266e commit 23fa35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/koenig-editor/addon/components/koenig-card-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default Component.extend({
// first image in row
rows[row] = [];
classes.push('pr2');
overlayClasses.push('ml2');
overlayClasses.push('mr2');
} else if (((idx + 1) % 3 === 0) || maxImagesInRow(idx + 1) || idx + 1 === noOfImages) {
// last image in row
classes.push('pl2');
Expand Down

0 comments on commit 23fa35c

Please sign in to comment.