Skip to content

Commit e3442ab

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/MAGETWO-37124' into PR
2 parents 74484e7 + 4a80c8d commit e3442ab

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@field-control__background-color: @color-white;
1717
@field-control__border-color: @action__border-color;
1818
@field-control__border-radius: 1px;
19-
@field-control__border-width: .1rem;
19+
@field-control__border-width: 1px;
2020
@field-control__color: @color-very-dark-gray-black;
2121
@field-control__font-size: @action__font-size;
2222
@field-control__line-height: @action__line-height;

app/design/adminhtml/Magento/backend/web/css/source/variables/_actions.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
@action__border-color: @color-gray68;
1111
@action__font-size: @font-size__base;
1212
@action__line-height: @line-height__base;
13-
@action__padding-top: round(((@field-control__height - @field-control__font-size * @field-control__line-height - @field-control__border-width * 2) / 2), 1);
13+
14+
@action__padding-top: round(((@field-control__height -
15+
(@field-control__font-size * @field-control__line-height) -
16+
((unit(@field-control__border-width) / @font-rem-ratio) * 2)) / 2), 1);
17+
1418
@action__padding-bottom: @field-control__padding-top;
1519
@action__height: 3.3rem;
1620

0 commit comments

Comments
 (0)