Skip to content

Commit

Permalink
#20527 - Hide configurable product variations table labels from UI no…
Browse files Browse the repository at this point in the history
…t with CSS
  • Loading branch information
Vasilii committed Jan 29, 2019
1 parent af11e87 commit ed2a80c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ protected function getColumn(
'dataType' => Form\Element\DataType\Text::NAME,
'dataScope' => $name,
'visibleIfCanEdit' => false,
'labelVisible' => false,
'imports' => [
'visible' => '!${$.provider}:${$.parentScope}.canEdit'
],
Expand All @@ -595,6 +596,7 @@ protected function getColumn(
'component' => 'Magento_Ui/js/form/components/group',
'label' => $label,
'dataScope' => '',
'showLabel' => false
];
$container['children'] = [
$name . '_edit' => $fieldEdit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;

.admin__control-fields {
.admin__field {
position: relative;

.admin__field-label {
span {
display: none;
}
}
}
}
}

.admin__control-table {
Expand Down

0 comments on commit ed2a80c

Please sign in to comment.