diff --git a/styles/widgets/generic/gridBase.generic.less b/styles/widgets/generic/gridBase.generic.less index a4a5bfbed35c..963556abb400 100644 --- a/styles/widgets/generic/gridBase.generic.less +++ b/styles/widgets/generic/gridBase.generic.less @@ -162,8 +162,13 @@ } } - .dx-row > td { - padding: @GENERIC_GRID_BASE_CELL_PADDING; + .dx-row { + & > td { + padding: @GENERIC_GRID_BASE_CELL_PADDING; + } + & > td.dx-command-adaptive { + padding: @GENERIC_GRID_BASE_CELL_PADDING - 2px @GENERIC_GRID_BASE_CELL_PADDING; + } } .dx-@{widgetName}-content .dx-@{widgetName}-table .dx-row { diff --git a/styles/widgets/material/gridBase.material.less b/styles/widgets/material/gridBase.material.less index ffc1e168199a..684275e3f75c 100644 --- a/styles/widgets/material/gridBase.material.less +++ b/styles/widgets/material/gridBase.material.less @@ -236,11 +236,17 @@ } } - .dx-row > td { - padding-top: @MATERIAL_GRID_BASE_CELL_VERTICAL_PADDING; - padding-bottom: @MATERIAL_GRID_BASE_CELL_VERTICAL_PADDING; - font-size: @MATERIAL_GRID_BASE_CELL_FONT_SIZE; - line-height: @MATERIAL_GRID_BASE_CELL_LINE_HEIGHT; + .dx-row { + & > td { + padding-top: @MATERIAL_GRID_BASE_CELL_VERTICAL_PADDING; + padding-bottom: @MATERIAL_GRID_BASE_CELL_VERTICAL_PADDING; + font-size: @MATERIAL_GRID_BASE_CELL_FONT_SIZE; + line-height: @MATERIAL_GRID_BASE_CELL_LINE_HEIGHT; + } + & > td.dx-command-adaptive { + padding-top: @MATERIAL_GRID_BASE_CELL_VERTICAL_PADDING - 2px; + padding-bottom: @MATERIAL_GRID_BASE_CELL_VERTICAL_PADDING - 2px; + } } .dx-@{widgetName}-content .dx-@{widgetName}-table .dx-row {