Skip to content

Commit 8b0318e

Browse files
committed
When setting background for labels explicitly the labels in admin will
overlap the `::before` pseudo-element. I suggest to remove explicit setting for `label` element or replace `@color-white` to `transparent`. In some cases developers try to hide elements by setting white background and higher z-index for the element with white background. But the proper way of hiding elements is to override templates config or remove elements by JavaScript.
1 parent 3666e03 commit 8b0318e

File tree

1 file changed

+0
-1
lines changed
  • app/design/adminhtml/Magento/backend/web/css/source/forms

1 file changed

+0
-1
lines changed

app/design/adminhtml/Magento/backend/web/css/source/forms/_fields.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,6 @@
545545
& > .admin__field-label {
546546
#mix-grid .column(@field-label-grid__column, @field-grid__columns);
547547
cursor: pointer;
548-
background: @color-white;
549548
left: 0;
550549
position: absolute;
551550
top: 0;

0 commit comments

Comments
 (0)