Skip to content

Commit 371c192

Browse files
ENGCOM-5459: Fixed issue #23575 #23699
- Merge Pull Request #23699 from syed92hasan/magento2:fix-23575 - Merged commits: 1. 35ca49e 2. aa1db91 3. 3aaedfd
2 parents 0b968b8 + 3aaedfd commit 371c192

File tree

2 files changed

+7
-3
lines changed
  • app

2 files changed

+7
-3
lines changed

app/code/Magento/Review/Block/Adminhtml/Grid.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Review\Block\Adminhtml;
8+
79
/**
810
* Adminhtml reviews grid
911
*
@@ -16,8 +18,6 @@
1618
*
1719
* @author Magento Core Team <core@magentocommerce.com>
1820
*/
19-
namespace Magento\Review\Block\Adminhtml;
20-
2121
class Grid extends \Magento\Backend\Block\Widget\Grid\Extended
2222
{
2323
/**
@@ -176,7 +176,7 @@ protected function _prepareColumns()
176176
'type' => 'datetime',
177177
'filter_index' => 'rt.created_at',
178178
'index' => 'review_created_at',
179-
'header_css_class' => 'col-date',
179+
'header_css_class' => 'col-date col-date-min-width',
180180
'column_css_class' => 'col-date'
181181
]
182182
);

app/design/adminhtml/Magento/backend/web/css/styles.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
}
5050
}
5151

52+
td.col-date.col-date-min-width.col-created_at {
53+
min-width: 14rem;
54+
}
55+
5256
// ToDo UI: Temporary. Should be changed
5357
@import 'source/components/_calendar-temp.less';
5458
@import 'source/components/_rules-temp.less';

0 commit comments

Comments
 (0)