Skip to content

Commit afc9c08

Browse files
author
Bogdan Plieshka
committed
MAGETWO-35455: Long labels are partly hidden under the fields on Backend pages
- Fixed admin labels word wrap
1 parent 3f04077 commit afc9c08

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ option:empty {
668668
line-height: 3.2rem;
669669
padding: 0;
670670
white-space: nowrap;
671+
word-break: break-all;
671672
}
672673
[class]:not(.admin__field-option) > .admin__field-label:before {
673674
content: '.';

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
line-height: 3.2rem;
7070
padding: 0;
7171
white-space: nowrap;
72+
word-break: break-all;
7273

7374
&:before {
7475
content: '.';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ input.mage-error ~ .addafter {
10861086
line-height: 3.2rem;
10871087
padding: 0 30px 0 0;
10881088
white-space: nowrap;
1089-
1089+
word-break: break-all;
10901090
&:before {
10911091
content: '.';
10921092
margin-left: -7px;

0 commit comments

Comments
 (0)