sfc-utils 1.3.52 → 1.3.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/topper.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.3.52",
3
+ "version": "1.3.54",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",
package/topper.js CHANGED
@@ -12,7 +12,7 @@ let getTopper = function(settings){
12
12
  let mediaChoice = ``;
13
13
  let topperImages = [];
14
14
  let animationDuration;
15
- let disableCover = (storySettings.Topper_Contain === true || storySettings.Topper_Contain === "true") ? 'contain' : 'cover';
15
+ let disableCover = (storySettings.Topper_Contain === true || storySettings.Topper_Contain === "true" || storySettings.Topper_Contain === "TRUE") ? 'contain' : 'cover';
16
16
  storySettings.Slide_Duration ? animationDuration = storySettings.Slide_Duration : animationDuration = false;
17
17
  let articleAuthorName = storySettings.Byline ? storySettings.Byline : storySettings.Author;
18
18
  let articleAuthorLink = storySettings.Byline_Link ? storySettings.Byline_Link : storySettings.AUTHOR_PAGE;
@@ -166,6 +166,7 @@ let getTopper = function(settings){
166
166
  .giftarticle .givegift {
167
167
  width: auto;
168
168
  display: inline-flex;
169
+ align-items: center;
169
170
  padding: 3px 9px !important;
170
171
  }
171
172
  `