Skip to content

Commit ee115fe

Browse files
author
Sergiy Zhovnir
committed
#issue-761 Adjusted the PR
1 parent a7f6e2d commit ee115fe

File tree

2 files changed

+4
-1
lines changed
  • app
    • code/Magento/Ui/view/base/web/js/grid/columns
    • design/adminhtml/Magento/backend/Magento_Ui/web/css/source/module

2 files changed

+4
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/columns/image.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ define([
8484
* Get is active record
8585
*
8686
* @param {Object} record - Data to be preprocessed.
87+
*
88+
* @returns {Boolean}
8789
*/
8890
getIsActive: function (record) {
8991
return this.previewComponent().visibleRecord() === record._rowIndex || false;

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/module/_masonry-grid.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@admin__masonry_grid_image__space: 20px;
66
@admin__masonry_grid_background_color: #fff;
77
@admin__masonry_overlay_background_color: #507dc8;
8+
@admin__masonry_grid_active_image_border_color: #558dd6;
89

910
& when (@media-common = true) {
1011
.masonry-image {
@@ -30,7 +31,7 @@
3031
.masonry-image-block {
3132
&.active {
3233
img {
33-
border: 2px #558dd6 solid;
34+
border: 2px @admin__masonry_grid_active_image_border_color solid;
3435
padding: 1px;
3536
}
3637
}

0 commit comments

Comments
 (0)