Skip to content

Commit

Permalink
ENGCOM-8119: #1797: The vertical image is not centered in Category im…
Browse files Browse the repository at this point in the history
…age preview #29869

 - Merge Pull Request #29869 from joweecaquicla/magento2:1797-vertical-image-not-centered-in-category-image-preview
 - Merged commits:
   1. c60dd36
   2. 28d04b0
   3. 45ebee4
  • Loading branch information
magento-engcom-team committed Sep 3, 2020
2 parents 40f9a4b + 45ebee4 commit 9adab69
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<annotations>
<description>Asserts images has been deleted in mass action.</description>
</annotations>

<see userInput='Assets have been successfully deleted' stepKey="verifyDeleteImages"/>
<arguments>
<argument name="numberOfAssetsDeleted" type="string"/>
</arguments>
<see userInput='{{numberOfAssetsDeleted}} assets have been successfully deleted.' stepKey="verifyDeleteImages"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
</actionGroup>
<actionGroup ref="AdminEnhancedMediaGalleryClickDeleteImagesButtonActionGroup" stepKey="clikDeleteSelectedButton"/>
<actionGroup ref="AdminEnhancedMediaGalleryConfirmDeleteImagesActionGroup" stepKey="deleteImages"/>
<actionGroup ref="AdminEnhancedMediaGalleryAssertImagesDeletedInBulkActionGroup" stepKey="assertImagesDeleted"/>
<actionGroup ref="AdminEnhancedMediaGalleryAssertImagesDeletedInBulkActionGroup" stepKey="assertImagesDeleted">
<argument name="numberOfAssetsDeleted" value="2"/>
</actionGroup>
<actionGroup ref="AdminEnhancedMediaGalleryAssertMassActionModeNotActiveActionGroup" stepKey="assertMassectionModeDisabled"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

.image-uploader {
.image-upload-requirements {
margin-top: 8px;
font-size: .9em;
margin-top: 8px;
}

.image-placeholder {
Expand All @@ -19,12 +19,12 @@
}

.image-uploader-spinner {
width: 50%;
height: 50%;
background-size: auto;
height: 50%;
margin: 0;
transform: translate(50%, 50%);
position: absolute;
transform: translate(50%, 50%);
width: 50%;
}

.image-uploader-preview {
Expand All @@ -33,7 +33,10 @@

.image-uploader-preview-link,
.image-uploader-preview-link .preview-image {
display: block;
height: inherit;
margin-left: auto;
margin-right: auto;
}
}

Expand Down

0 comments on commit 9adab69

Please sign in to comment.